which command u will use to access the application through
descriptive programing?
Answers were Sorted based on User's Feedback
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 |
In Descriptie Programming we use InvokeApplication
InvokeApplication "path" in QTP
Or
SystemUtility Comaand in QTP
Is This Answer Correct ? | 1 Yes | 1 No |
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 |
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 |
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 |
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 |
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
Hoe can we do retesting using functions please give the code for it using login page
Hi How to retrieve data from web element line by line?
Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?
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"
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
How software automation specialist enter steps in the Expert View?
Did QTP prove efficient for your project? Yes or No, explain?
describe some problem that u had with automation testing tool?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
HI How to take screenshots of a Webpage and saving it in a external word document using QTP.
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