Telerik Forums
Test Studio Forum
1 answer
118 views
I am attempting to automate a client registration on our website and when I run my test after recording playback is unable to find the link on the overlay.  The link itself when inspected displays as follows. 

    <h2>Please login or<a href="JavaScript:onRegister();"><b>register</b></a> to continue.</h2>


When this link is selected the expected behavior is that a new overlay displays allowing a new user to register with the site.  However I am unable to get this link to click during a test run.  
Mario
Telerik team
 answered on 29 Dec 2012
3 answers
179 views
I have a projec that has recent starting giving the following error when I try and run it:
(note: my other projects work fine)
"C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Runner.exe" list="C:\Automation\Test Studio Projects\AuthAnvil PasswordServer\TestLists\PWS Static Tests.aiilist"
There was an error deserializing the object of type ArtOfTest.WebAii.Design.ProjectModel.Test. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 1, position 252.
   at ArtOfTest.WebAii.Design.ProjectModel.Project.LoadTest(String filePath)
   at ArtOfTest.WebAii.Design.Execution.CommandLineRunner.ExecuteListInternal(TestList list, String projectPath, Dictionary`2 publishArgs)
   at ArtOfTest.WebAii.Design.Execution.CommandLineRunner.ExecuteTestList(String aiiListPath, Dictionary`2 publishArgs)
   at ArtOfTest.Runner.Program.CommandLineExecution(String[] args)
   at ArtOfTest.Runner.Program.Main(String[] args)

Konstantin Petkov
Telerik team
 answered on 28 Dec 2012
8 answers
199 views
Hi Telerik
                I am not able to export the test result to Word,Excel as i am using the Telerik Test Studio trail version,if i get an solutions on this to export the test result i will be really thankful.


Regards

Prasad

                                                      Its urgent :)
Stoich
Telerik team
 answered on 28 Dec 2012
1 answer
43 views
 when I close the Test Studio and reopen it
 
the errorlog is :can't  found  'FrameCtl00Ctl000'

I mean the 'FrameCtl00Ctl000'  does exist, But  when I close the Test Studio and reopen it,the errorlog is :can't  found  'FrameCtl00Ctl000'
why?
Boyan Boev
Telerik team
 answered on 27 Dec 2012
17 answers
306 views
Hi, My 2nd post here. 

What if the recorded step is not quite right?
Is it possible for me to fine tune it?

For example, I have this "LeftClick on x...Textblock", with the following Find logic:

Expression:

XamlTag=datagrid,automationid=DataGrid,|,XamlPath=/grid[0]/border[0]/grid[name=Root]/datagridrowspresenter[automationid=RowsPresenter]/datagridrow[0]/datagridfrozengrid[name=Root]/datagridcellspresenter[name=CellsPresenter]/datagridcell[3]/grid[name=Root]/contentpresenter[0]/stackpanel[0]/textblock[0]

FindLogic:

[automationid 'Exact' DataGrid] AND [XamlTag 'Exact' datagrid][XamlPath 'Exact' /grid[0]/border[0]/grid[name=Root]/datagridrowspresenter[automationid=RowsPresenter]/datagridrow[0]/datagridfrozengrid[name=Root]/datagridcellspresenter[name=CellsPresenter]/datagridcell[3]/grid[name=Root]/contentpresenter[0]/stackpanel[0]/textblock[0]]

How to interpret it? 

What looks obvious to me is the 'XamlPath=' part in Expression. That should tell me how to locate the object in DOM. For the rest, the syntax is still unclear to me. Moreover, is the  [XamlPath 'Exact' ...] part in FindLogic the same as what's in Expression? If so, why duplicate it to two places? 

Sorry for so many question, here is the last one. If I don't want to select a data grid by a fixed  place, but rather select a data grid according its content, say the content begins with 'Abc', how can I alter the recorded step?

Thanks


Stoich
Telerik team
 answered on 26 Dec 2012
1 answer
60 views
What's the difference between '~' and '^'?
Konstantin Petkov
Telerik team
 answered on 24 Dec 2012
1 answer
143 views

I have created a test for the following

a. Add a name
b. Send an email

I need to verify the values against the database.  I have written two queries one for getting the name and other for getting the email id from the database.  In Coded step i have given the connection string and executed one query (retrieving a name).  To get the email id (retrieving an email) do i need to declare connection string again or add another coded step?  Both tables are in the same database.
Nikolai
Telerik team
 answered on 24 Dec 2012
1 answer
75 views
Hi,

I was wondereing if it is poosible to add more information in the Failed Test component when editing the the email notofication settings?  Currently it displays <Testname> <MachineName>, however we would like it to display the description of the test in the test properties.

The reason for this is some of our tests are very descriptive, and are too long ( due to path length limitations ) to include as part of the step name so we have used the Comment feature as well as the Test Step Description property to advise the user the exact purpose of the test.

Another useful option for us would also be <Testpath>.

Are either of the above possible?

Thanks
Shane
Boyan Boev
Telerik team
 answered on 21 Dec 2012
3 answers
249 views
Hello All,

I am trying Test studio to check if it works for me.
One of the features I noticed is, If test studio is not able to find the element based on its Find Logic,  it tries to find the element using backup search.
For my test, I am getting following message in TestResults:

23    Enter text 'Instruction 1' in 'Instruction1TextArea'
Element was found by backup search only! We recommend editing the element to correct the primary find expression.
Primary Find Expression: id=DropParent5469,|,tagIndex=textarea:0
Element was found by backup search: xpath=/html[1]/body[1]/div[3]/div[2]/div[1]/div[1]/div[3]/div[1]/div[1]/textarea[1]        Pass



I want to know, where does test studio stores the xpath for the element? Is there any way to find out the xpath without executing test(from element definition or something like this)?
Also, Is there any way to specify the test to find elements based on xpath only?


Thanks and Regards,
Shruti


Amit
Top achievements
Rank 1
 answered on 21 Dec 2012
1 answer
41 views
the colour of a  successed schedule TestList is stil yellow.
why is not green?
Ivaylo
Telerik team
 answered on 20 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?