Hi any body can tell me the in detaled information about
Description.Create() thanks in advance
Answers were Sorted based on User's Feedback
Answer / chandu
description .create() is used for descriptive programming
without adding the objects in the Obj repository we'll use
this. for example to create a button object use the
following code
set b1=description.create
b1("Class Name").value="webButton"
b1("attached text").value="OK"
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
what is the use of automation frame work ??(QTP)
X=10,Y=20 you need to swap the numbers without using a third variable?
is qtp 9.2 create the scripts with the application run on mozilla firefox browser?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
How will you send values to a cell in a webtable using QTP?
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
i am giving.multiple names like ram,raj,san etc....pls enter & search these names in google pade edit box through script... i told to interviewer, using Ms excel & test easily..but interviwer not happy with that answer?
What is descriptive.create () in QTP?
How to handle recovery scenario for a application crash.write script for this.
breef description of batch testing ?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?