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 generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript
what is difference between application testing and product testing?
what is the difference between development and testing
Why VB scripts are used in QTP and TSL in Winrunner, is there any advantage of using VB Scripts
How can we use XML in QTP?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
Among all the check points what is the most important checkpoint?
How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
How to create runtime property for an object?
Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.
some times we write user define functions.where we write main and sub program,how,where to insert the functions in qtp?