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 |
Where you can store check point results?
Function to convert lowercase to uppercase in QTP Pls anybody can give the answer.. Thanks in advance...
Why we have to split actions in a test?
What are the Automation Limitations??
what is exact difference between smoke and sanity testing?
How to send the qtp results file by email (Lotus notes).
How to retrive XML file data in QTP ? using Script(Chandana)
how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. But when i am calling the function with the keyword CALL <Function Name>. its not working out. can any one give me a clue how to call the external functions. with example.
Give the syntax to import/export xls into qtp.
why should we give deliver good quality software?
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?
If a object property is changed in the application. where it should be updated in QTP... Pls anybody can give the answer.. Thanks in advance...