how to write this script using descriptive programming?
the script below is the script generated by QTP plz write
the script using descriptive programming? plzzzzzzzz do
answer thanku
Browser("Welcome: Mercury Tours").Page("orkut -
login").WebEdit("Email").Set "test123"
Browser("Welcome: Mercury Tours").Page("orkut -
login").WebEdit
("Passwd").SetSecure "475259b450e3d212bef4a5f5ce9d32ebcbf4"
Browser("Welcome: Mercury Tours").Page("orkut -
login").WebButton("Sign in").Click
Browser("Welcome: Mercury Tours").Page("orkut - home").Link
("Logout").Click
Browser("Welcome: Mercury Tours").Page("orkut - login").Sync
Browser("Welcome: Mercury Tours").Close
Answer Posted / snemaa
above one is in correct .
same thing can also be written as:
set mypage = Browser("Title:=Welcome: Mercury Tours").Page
("Title:=orkut - login")
mypage.webEdit("Name :=Email").Set "test123"
mypage.webedit("Name :=Passwd").Set "XXXXXXXXXXXXXXXXXX"
mypage.webbutton("Name :=Sign in").Click
..........
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to use the object spy in quicktest professional 8.0 version?
To which environments does quicktest professional supports?
What is the default add-ins in qtp?
Explain the difference between call to action and copy action?
How to capture a window in QTP?
How to run a test using quicktest professional?
When to use descriptive programming?
What are the challenges you faced during you entire life automation ?
How is test case write?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
How many types of recording modes in qtp? Describe each type with an example where we use them?
What is the difference between run time object and test object?
What are test settings and global settings?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
What is quicktest professional?