Telerik Forums
Test Studio Forum
1 answer
148 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
123 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
268 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
122 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
154 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
223 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
135 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
1 answer
79 views
Hi,

I have upgraded the Test studio (R1 2013) standalone version and after that when ever I try to move a Test case into a Folder/Sub folder I get the following error message

"An Unexpected Error occured in Test Studio" and after save test studio crashes (see attached "error screen.zip"). I have taken the description of the error from the log folder and attached in the "error description.zip"

Need help on resolving this error


Thanks,
Raghavan
Boyan Boev
Telerik team
 answered on 14 Aug 2013
2 answers
79 views

My coworker gave me the old version of Test studio some days ago. Today, I upgraded to new Telerik Test Studio and here are the issues in Silverlight 5. 

Performance issue- It takes time to open a new solution file (slower than last version) after the upgrade.

Some basic features (like left click ) are broken in Silverlight 5 (not reliable when recording or playing back) ; sometimes it is working and sometimes it is not. Feel frustrated all the time. 

I had better uninstall new version and install the old version again.

I would suggest users: Don’t install this version - TestStudio_2013_1_806_Trial.exe if you have the same issue. 

Thanks,
Mary

Rodney
Telerik team
 answered on 13 Aug 2013
8 answers
295 views
Relative xpaths are failing to find any screen elements, leading to this error:
"System.NullReferenceException: Object reference not set to an instance of an object."

This problem occurs in a coded step, following this kind of pattern:
HtmlControl element1 = Manager.ActiveBrowser.Find.ByXPath<HtmlControl>("//div[@class='sw_b']");
HtmlControl element2 = element1.Find.ByXPath<HtmlControl>("./input[@id='sb_form_q']");

The first line, where it calls the Find method on the active browser and uses an absolute xpath, works fine. But the second line, calling the Find method on the particular HtmlControl and using a relative xpath to find another element, fails; the variable element2 remains null, and the further coded steps fail with the error above.

I've attached a complete project which uses a very simple test to demonstrate this problem.
Velin Koychev
Telerik team
 answered on 13 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?