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 |
What is the difference between Dim And Redim
4 Answers Hotel Jobs, IBM, Microsoft,
Can you tell me QTP is support for GIS(Geography Information System) Based Software.
What is the use of running the scripts in Hidden-mode in UFT?
i did B.Tech cse and i secured 76%. instead of siting at home ... i would like to do some course. can u suggest me in this.
Have you used xml check point in your project?
How many types of recording modes are there?
i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
where do you define the objects as regular expression when u are using regular expressions.
Hoe to generate all numbers in between to numbers suppose all numbers in between 1 to 100 using vbscript give me code
does the vb script knowledge is mandatery in testing using QTP
can any one please tell me QTP 9.2 supports which version of IE and Mozilla firefox.
Can the mode of object repository be change during run time? Eg. if the mode is per-action during design time can i change it to shared and vice-versa? Any scripting possible?