which command u will use to access the application through
descriptive programing?

Answers were Sorted based on User's Feedback



which command u will use to access the application through descriptive programing?..

Answer / varsha

We can use InvokApplication or SystemUtil.Run "".
Also you can use following script to open a browser usinf
descriptive programming :

Dim ie
Set ie = CreateObject ("InternetExplorer.application")
ie.Navigate "http://www.google.ae/"
ie.Visible=True

Is This Answer Correct ?    4 Yes 0 No

which command u will use to access the application through descriptive programing?..

Answer / c.chaitanyakumar

In Descriptie Programming we use InvokeApplication

InvokeApplication "path" in QTP

Or
SystemUtility Comaand in QTP

Is This Answer Correct ?    1 Yes 1 No

which command u will use to access the application through descriptive programing?..

Answer / jason

I partially agree with the first answer and i afraid to say
that i dint understand the second answer.
Lets keep it simple,
In case of a windows application its :
SystemUtil.Run ""

In case of a web based Appliaction its :
Broswer(browser name).Page(page name).so on....;

Invoke Application , was being used in QTP 6.5.
Please check and revert back if it applies to 8.2 / 9.0 /
9.2 / 9.5.

Is This Answer Correct ?    0 Yes 0 No

which command u will use to access the application through descriptive programing?..

Answer / neel

invoke application ("path of the application")
OR systemutil.run "path of the application"
And see whthere the objects are available in the
reposiutory or not..

Is This Answer Correct ?    0 Yes 0 No

which command u will use to access the application through descriptive programing?..

Answer / tvs ramakrishna chowdary

we can't access the app thru descriptive prg...but we can
access the objects in the app thru descriptive prog..

ur question is not clear

Is This Answer Correct ?    0 Yes 0 No

which command u will use to access the application through descriptive programing?..

Answer / subbu

By using the below comnd
Browser("creationtime:=0").exist
Browser("creationtime:=0").navigate"www.xyz.com"

Is This Answer Correct ?    0 Yes 0 No

which command u will use to access the application through descriptive programing?..

Answer / k.chandra sekhar

a) When the not recognize the object in the object
repository then go the descriptive script.
b) Then that time you 1st learn the that object with
the help of the object spy then in the object spy show the
all properties of the that object then any one of the
properties you can use that, base create the descriptive
script.
c) It is minimum 4 to 6 lines only not use the more
then, that is not good for the tester


My name is k.chandra sekhar,
My phone no is 09246540049,
Hyderabad.
My mail id is ndra_143@yahoo.co.in
If any body want full explain send the mail

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

0 Answers  


Hoe can we do retesting using functions please give the code for it using login page

0 Answers  


Hi How to retrieve data from web element line by line?

0 Answers  


Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?

1 Answers  


I am testing a website TheLancet in qtp 9.2 and running a script but its not working.Tell me if m doing anything wrong in the script. If Browser("TheLancet.com - Home Page").Page("TheLancet.com - Home Page").Link("Clinical").exists then msgbox "object exist" Else msgbox"object doesnt exist"

2 Answers   Rolta,






what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

0 Answers   Intel, Satyam,


How software automation specialist enter steps in the Expert View?

0 Answers  


Did QTP prove efficient for your project? Yes or No, explain?

0 Answers  


describe some problem that u had with automation testing tool?

3 Answers  


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

0 Answers  


HI How to take screenshots of a Webpage and saving it in a external word document using QTP.

4 Answers   3i Infotech, TCS,


Plz give the vb script for the following scenerio I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have to test web application.In that i want to select from the drop down values in the application. 2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to give value from data table of QTP. 3. For every iliteration it should select A,then B and so on

0 Answers  


Categories