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]
> <javascript:>>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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> 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.