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 |
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
Hi All, Can anyone provide me the license for QTP 9.5.... My Email ID: khanbro@rediffmail.com
One build is delivered. in that build button name is submit. but in the next buit that name of the button changed as login.are u continue with previous recorded script or u make any changes?
How do function returns a value?How can we pass one function value to other function as input
hi i have one doubt is there any companies are taking correspandence courses plz leme know urjent
Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP?
How to handle Dynamically changing Objects in QTP?
I want to do QTP Certification what is the pattern of Question paper.
What is Environment Variable and when we apply this in QTP?
Please have a look at this: a = Browser("Travel Boutique Online").Page("Travel Boutique Online_2").webelement("innerhtml:=2622").getroproperty("y") a=a+9 msgbox a Browser("Travel Boutique Online").Page("Travel Boutique Online_2").image("alt:=check","y:=a").click Now please let me explain. As clear from code I am trying to enter value of variable 'a' as Property y. But each time QTP AND MY SYSTEM stops responding when this line is execcuted. But When i enter some number in place of 'a' in the last line. it works fine. Please let me know what I am doing wrong at time of entering the variable in last line. Thanks a lot
How to capture checkbox properties when properties of the object keep changing on relogin to the application.
what is aregular expression?