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

How to parameterize the validation check point?

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saiman
Top achievements
Rank 1
Saiman asked on 29 Jan 2013, 08:06 AM
Hi,

I am actually testing a web app that performs search based on entered search criteria and also displays the search parameters label exactly as you entered after the search right next to its search text boxes. Now I have made searching data driven so that each time new search parameter is entered in the text field. I also created validation check point of "text contains" so that i could verify that web app is displaying the same search parameter label that was entered for searching. When I make the validation check point data driven by passing the variable that i created in local datasheet for searching, my test cases fail to validate the checkpoint. Is there a right way to accomplish what i am trying to do?

Regards
Salman

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 29 Jan 2013, 05:26 PM
Hello Saiman,

Your test case is absolutely correct and should work without any problems. 

You can data bind the search input as well as the verification step. I recorded a shrot video as a demonstration.

In order to help you best please send us the execution log.

A Jing video demonstrating the issue may also help us to better understand what is happening. You can send us the test project also for further investigations.

An options is to add a WaitForExists to the element you are verifying. It may appear slowly causing the verification step to fail.

Thank you for your cooperation.
 

All the best,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Saiman
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or