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?
Answers were Sorted based on User's Feedback
Answer / uma +91-9848088957
U change the logical name of the object which object u cha
nge in object repository. or u add new object to the object
repository.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / suresh
If the change is permanent, we shouldchange it in the
object properties in OR.
Button - object
name="login"
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / gangadhar reddy
Yes.First Enable the Smart Identification Mechanism.
QTP will identify the changed object by using Smart Identification
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajasekhar
So we want to change the logical name of the button through
regedit.exe ., ie after executing this we can change the
logical name of that particular button
Is This Answer Correct ? | 0 Yes | 1 No |
When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..??
2 Answers DST Global Solutions,
Why is action split used by qtp?
what is descriptive programming? what are the mandotory properties in qtp? what are libriry functions in qtp? what frame work you are using at your project? what is object repositery? what is our role as per qtp project is concerned as a software tester?
what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
0 Answers Mannar Company, Wipro,
what is the difference between built-i function and In-built function?
hi. I Am working in Small IT company as Test Engineer. But am looking for change. I have 2+yrs experience, but my problem is MCA 72%, remaining all are Second Division. plz give solution for my problem.am elgible for MNC's or not. if not plz give suggestion............ already i forwarded my resume to lot of MNC's but. I didn,t get CAL............ plz give any suggestion.
cud anybody please tell me the full form's of the extention files that we use in real time---.tsr,.mtr,.qrs
Syntax for how to call one script from another? and Syntax to call one "Action" in another?
For Data-Driven testing can you use micro soft word document instead of using Datatable what is your approach?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application