One build is delivered. in that build button name is submit.
but in the next buit that name of the button changed as
login.are u continue with previous recorded script or u
make any changes?
Answer Posted / chakrapani
use desciptive programming to identify the object using
property names and its values.
Eg:
browser("Myyahoo").Page("dfdfds").Webbutton
("name:=gfgf").Click
name:=gfgf this can be retrieves using object spy.
even though in further builds the logicla name changes this
will work fine
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
What is the syntax for how to call one script from another?
How to test login module with different username and password by using data driven testing in QTP?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
In Remote acess server how u run a test?
How to use the object spy in quicktest professional (qtp) 8.0 version?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
Explain xml checkpoints.
With what extension you can save the list of tests in a file to run in test batch runner?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
Explain different type of event trigger option.
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
What is fragmentation and paging?