Telerik Forums
Test Studio Forum
3 answers
95 views
Hi,

I have just logged a support ticket for this, but thought I would throw it out to the forum also to see if anybody else has come across this and if they have found any workarounds for it:

We have several users on the Windows 8 OS who have the same Visual Studio 2010 Professional edition as me.  I am on WIndows 7 OS and whenever I rename a tsest file in the solution, it correctly updates the link to the resx file and renames that accordingly ( as well as any code behind file we have ).

The users who are on Windows 8 OS however, whenever they rename a tstest file, it sits there for about 90+ seconds thinking about it, eventually renames the tstest file correctly, but the linked resx file fails to update ( see attached Jing video capture ), the test then becomes unusable and if you open the file in a text editor you can see it is still mostly referenced to the previously named resx file.

Thanks
Shane
Cody
Telerik team
 answered on 22 Aug 2013
1 answer
79 views
Hi,

I can see test end time and date when i extract the result file after completing the execution of my test list.
I need start time also listed in a similar fashion as the end time is. Is there a way I can get start time also for each step executed?

Thanks,
Prerna
Boyan Boev
Telerik team
 answered on 22 Aug 2013
1 answer
81 views
Hi,

I am trying to set some test in a text box on a gridview, the textbox will be different on each test so i need to set the element name on each text,
int no = Row.RowIndex;
string textbox = "Pages.ERecruitment7.ContentPlaceHolder1GvLookupTxtengagementStatus"+no.ToString()+"Text";
 Log.WriteLine(textbox);
 Actions.SetText(textbox, "AAA_Test Studio_BBB");

This is what i have so far (simplified), i am assumed i could set the string and then replace the target element, but i says it cannot be a string, is there a way i can do this? create a new target element?

Thanks

Velin Koychev
Telerik team
 answered on 21 Aug 2013
1 answer
154 views
I am having trouble getting a while loop to run. I have it verifying the datagrid.rowcount > 0. While the greater then one delete row until row count = 0, but when it checks the datagrid it still does not run. Ideas??
Mario
Telerik team
 answered on 20 Aug 2013
1 answer
130 views
I just upgraded to the latest version (2013.1.806.0) and now my test lists will no longer execute in the same browser. The browser is closed and a new one opened at the start of each test in the list. Is the recyclebrowser setting broken?
Velin Koychev
Telerik team
 answered on 20 Aug 2013
4 answers
286 views
Hello,

I've found a few threads that are related to my question but none of them seem to be exactly what I am facing. Apologies if this is a duplicate.

In my example I have changed the directories to ones that are easier to follow though are representative of the situation I am in. (The actual project directories go fairly deep and I think will just confuse the issue).

The problem that I have is that when I first started on a project of automating UI cases not much had been done in terms of integrating with TFS. I had locally mapped the project to my machine and was working with this integration. After some discussions with other QA in the company we settled on a common layout for how to map projects. In Visual Studio I then remapped the project from:

d:\different\local\path\to\project

to this:

d:\local\path\to\project

For awhile things were fine. However, we have now upgraded to Test Studio 2013 and the mapping is not quite working. When I open the project I get this message:

The TFS Local path does not match the actual project path!

I also get this message in a dialog:

Remote path $/Path/To/Test/Project does not map to a parent of local path d:\local\path\to\test\project

When I try to reconnect to the TFS server and pick the project it has the local path as:

d:\different\local\path\to\project

This is the older location which is no longer correct. What steps do I need to take to get Test Studio to stop looking in d:\different\local\path\to\project and start using the correct directory?

I haven't been able to find it in a config file or in the registry. I also tried re-installing in the hope that that would clear out settings.


Thanks!
Kevin
Top achievements
Rank 1
 answered on 19 Aug 2013
1 answer
129 views
Hello,

I just downloaded the Test Studio to see if it meets our requirements.

However when trying to record a first test I run into the following problem:

If I create a click event on a Button that is coded like this:

<input class="loginInputField" name="j_newUser" type="button" onclick="document.loginForm.j_username.value=checkUserName();document.loginForm.submit();" value="Login"/>

it is working perfectly fine.

However the following Button is not recognized as the ID always changes. The program is stuck at "locating elements":

<input type="button" style="width: 500px;" value="Klärfälle" id="rnd672292135" name="Clarification Cases" class="startPageButton" onchange="showSaveButtons(this); markAsChanged(this);;;" onclick="javascript:loadMacroForm('clarificationCases.xml', 'mainDiv');"/>

I googled a bit and found that i can adress this button using:

Dim e As Element = Find.ByExpression("name=Clarification Cases")
Assert.IsNotNull(e)
Actions.Click(e)

working fine so far. My Problem now is that i have another button of that type, which doesnt have a unique name. When i Try to execute the same bit of code using "Find.ByExpression("value=xxxx")" it won't find the button and abort.

Can anyone tell me how to adress this button?

<
input type="buttonvalue="Versichertenorientierten Klärfall anlegenid="rnd2046738466name="nullclass="buttononchange="showSaveButtons(this); markAsChanged(this);;;"
 
onclick="javascript:syncMacro('commands/LoadForm','pages/clarificationcase/showClarificationCase.xml,var.clarificationKind=insurant','mainDiv');"/>

Thank you.








Velin Koychev
Telerik team
 answered on 16 Aug 2013
5 answers
163 views
I need to customize the verification step within my IF/ELSE step but it's grayed out.

Any ideas ???
Cody
Telerik team
 answered on 15 Aug 2013
1 answer
236 views
Hi,

I'm sort of a newbie so bear with me please. Here's my question: When recording a step, is there a way to "select/highlight" the InnerText of an element? In other words, I do not wish to verify the inner text of my element, I just want to select it.

Thanks.

Anthony.

Rodney
Telerik team
 answered on 14 Aug 2013
4 answers
145 views
I recently upgraded from a 2012 version to 2013.1.806.0 and am getting an error when trying to open a test in a project. The pop-up error message reads "An unexpected error occurred in Test Studio. The error has been reported to the Telerik Team. Do you want to save your work?" I tried a couple of other projects that i have and i noticed that same issue on each of them. Please advise.
Mercedes
Top achievements
Rank 1
 answered on 14 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?