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


Please Help Members By Posting Answers For Below Questions

What is the XML file architecture ?

1545


What are the advantages of qtp?

576


What is the use of text output value in quicktest professional?

506


Can the user toggle between using Local OR and shared OR for the same action?

554


What is the expert view?

547






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?

1509


How to do call a output parameter from one action to another action??/

1870


How to use transactions in qtp?

559


What test you perform mostly? Regression or retesting in your testing process?

574


How the exception handling can be done using quicktest professional (qtp)?

567


What are the common defects found in your project? (in qtp interview)

1612


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")

1416


How do you perform Regreession Testing?

1458


How to create runtime property for an object?

1445


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

580