Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Hi any body can tell me the in detaled information about
Description.Create() thanks in advance

Answers were Sorted based on User's Feedback



Hi any body can tell me the in detaled information about Description.Create() thanks in advance..

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

Hi any body can tell me the in detaled information about Description.Create() thanks in advance..

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

Post New Answer

More QTP Interview Questions

How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

0 Answers  


what is the use of automation frame work ??(QTP)

2 Answers  


X=10,Y=20 you need to swap the numbers without using a third variable?

5 Answers  


is qtp 9.2 create the scripts with the application run on mozilla firefox browser?

3 Answers  


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)

0 Answers  


How will you send values to a cell in a webtable using QTP?

2 Answers  


What are the things(properties, and other details) will be recorded while recording an object using normal recording?

0 Answers  


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?

2 Answers   Accenture,


What is descriptive.create () in QTP?

3 Answers  


How to handle recovery scenario for a application crash.write script for this.

2 Answers   Polaris, TCS,


breef description of batch testing ?

0 Answers   Wipro,


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

0 Answers  


Categories