Hi any body can tell me the in detaled information about
Description.Create() thanks in advance
Answer Posted / kumar .c
Description.Create() is indicated the Descriptive
programming starting syntax. it is used for when
objectrepository is not available and when client ask
spcifically then tester go for descriptive programming.
the following code is example for login page descriptive
programming
Set br= descrition.Create
br("applicationversion").value = "internetexplorer 6"
set pg= description.create
pg("page name").value = "Login"
set weu=description.create
we("text").value = "username"
set wep =description.create
wep("text").value = "password"
set wb=description.create
wb("name").value = "OK"
login page script
systemutil.run "serverpath","",".exepath".open
browser(br).navigate "url"
browser(br).page(pg).webedit(weu).set "chaitu"
browser(br).page(pg).webedit(wep).set "merrcury"
browser(br).page(pg).webbutton(wb).click
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the XML file architecture ?
What are the advantages of qtp?
What is the use of text output value in quicktest professional?
Can the user toggle between using Local OR and shared OR for the same action?
What is the expert view?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
How to do call a output parameter from one action to another action??/
How to use transactions in qtp?
What test you perform mostly? Regression or retesting in your testing process?
How the exception handling can be done using quicktest professional (qtp)?
What are the common defects found in your project? (in qtp interview)
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")
How do you perform Regreession Testing?
How to create runtime property for an object?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?