This is a migrated thread and some comments may be shown as answers.

search results under html table

3 Answers 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 02 May 2014, 05:01 PM
hello,

kindly advise what would be the best thing to do with this scenario:

if i do a single run of the script wherein i have to search and click on the result the outcome is a success but once i bind it to a data step #12 fails, heres the summary logdetails of the failure:

Unable to locate element. Details: Attempting to find [Html] element using
Find logic
 (Html): [tagname 'Exact' a] AND [TextContent 'Exact' P0000012319]

Unable to locate element. Search failed!

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 07 May 2014, 04:25 PM
Hi Nick,

(I moved this ticket from Testing Framework to Test Studio because it appears you're actually using that product)

I'm afraid just a screen shot of the script and a screen shot of the application is not enough to diagnose this type of problem. Please go to Step Failure Details, find and click Export and attached the .zip file it generates. That contains the full test log, the details of the step failure and a snapshot of the browsers DOM at the time of failure.

Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Nick
Top achievements
Rank 1
answered on 07 May 2014, 05:05 PM
thank you for doing so Cody,

I have also attached the zip file exported from the failure details.
0
Cody
Telerik team
answered on 12 May 2014, 01:24 PM
Hi Nick,

Thank you for the additional details. They are helpful. The log shows me that line 98 of your coded step is failing. 

System.NullReferenceException: Object reference not set to an instance of an object.
   at FT_GOPI_IndividualRegistrationStage1_v1.Data_Entry_TIN_Registration.Data_Entry_TIN_Registration_CodedStep() in c:\Users\UAT 11\Documents\Test Studio Projects\FT-GOPI-OnlineRegistration-v1\Offline Registration\Data Entry TIN Registration.tstest.cs:line 98

Unfortunately your code was not included in the export. I need to see the code to further diagnose the cause of the failure. Can you attach the file FT-GOPI-OnlineRegistration-v1\Offline Registration\Data Entry TIN Registration.tstest.cs (put it into a .zip file first)?

Regards,
Cody
Telerik 
Tags
General Discussions
Asked by
Nick
Top achievements
Rank 1
Answers by
Cody
Telerik team
Nick
Top achievements
Rank 1
Share this question
or