Ok, now that I have opened my Java window, I need to fill a sample form
(name, email, DOB) couple times and close the Java window.
1. Can you help me parametrize this action to fill out the form 2 times?
2. Than I woudl like to insert check that Exit button presents and close
the window to see test passes.
Thanks So much!
George
On Friday, November 8, 2013 10:55:15 AM UTC-5, george p wrote:
>
>
> Ganesh,
>
> it worked.
> Thanks for the help.
>
> Cheers!
>
> George
>
>
> On Friday, November 8, 2013 10:25:48 AM UTC-5, Ganesh muralidharan wrote:
>>
>> Have you tried without giving the browser and page ?
>>
>> JavaDialog("text:=Security Warning").JavaCheckBox("label:=I accept the
>> risk and want to run this application\.").Set "ON"
>> JavaDialog("text:=Security Warning").JavaButton("text:=Run").Click
>>
>>
>> On Fri, Nov 8, 2013 at 8:33 AM, george p <[email protected]> wrote:
>>
>>>
>>> <https://lh3.googleusercontent.com/-X_I9TuJ9l3o/Unz2TqY4UeI/AAAAAAAACps/plwdCaLzFOE/s1600/Capture2.JPG>
>>> Thanks Satnam,
>>> Apreaciate your feedback
>>> I am still getting the Run error that JavaCkeckBox cant be found.
>>> I tried other checkbox properties, but still.
>>> What else can I add?
>>>
>>> see scrrenshot
>>>
>>>
>>> On Thursday, November 7, 2013 4:46:37 PM UTC-5, george p wrote:
>>>>
>>>> <https://lh6.googleusercontent.com/-yJhLx4lKr-c/UnwKN99KkyI/AAAAAAAACpU/4NGDod8Wk2Q/s1600/Capture2.JPG>
>>>>
>>>>
>>>> <https://lh5.googleusercontent.com/-63qkzGugEaI/UnwKMSG7bBI/AAAAAAAACpM/GeErpwk3uks/s1600/Capture.JPG>
>>>> Hi,
>>>>
>>>> I am using descriptive programing in QTP 11.5, no obj repository.
>>>>
>>>> I have simple web app, but there is a Java dialog window I need to open
>>>> and select a checkbox before I click Run button.
>>>>
>>>> Can you guys help me with the code? What I a m doing wrong?
>>>>
>>>>
>>>> Dim JavaBro, JavaDial, Jobj, JBox, JButton, JWindow
>>>>
>>>> Set JavaBro = Browser("micclass:=Browser")
>>>> Set JavaDial = JavaDialog("micclass:=JavaDialog")
>>>> Set JButton = JavaButton ("micclass:=JavaButton")
>>>> Set JWindow = JavaWindow ("micclass:=JavaWindow")
>>>> Set Jobj = JavaObject("micclass:=JavaObject")
>>>> Set JBox = JavaCheckBox("micclass:=JavaCheckBox")
>>>>
>>>>
>>>> Set oDesc = Description.Create()
>>>> oDesc("micclass").Value = "JavaCheckBox"
>>>> JavaDialog("text:=Security Warning").JavaCheckBox("label:=I accept the
>>>> risk and want to run this application\.").Set "ON"
>>>> JavaDialog("text:=Security Warning").JavaButton("text:=Run").Click
>>>>
>>>>
>>>> I am attaching the error message as well.
>>>>
>>>>
>>>> --
>>> --
>>> You received this message because you are subscribed to the Google
>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Regards,
>>
>>
>> Ganesh Muralidharan
>> 'God Never Forgets'
>>
>
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.