This is Uday.
here i am writing the function, may be it will correct. Try this
1) this is the function
Public Function submitbutton(obj)
var=obj.getroproperty("enabled")
if var="false" then
msgbox "pass"
else
msgbox "fail"
endif
endfunction
registeruserfunc "winbutton","submitbuttonl","submitbutton",true
Script like this
Browser("Internet
Explorer").Page("www.gmail.com").webedit("username").set abcdef
Browser("internet explorer").page("www.gmail.com").submitbutton(winbutton).click
On 7/28/11, uma mahesh <[email protected]> wrote:
> hello can any one help to write a function
> 1. need to open Internet Explorer
> 2. give the user name and click submit
> because every time I have to write code for this
> Please help
>
> On Thu, Jul 28, 2011 at 11:44 AM, rajkumar Thouta <[email protected]> wrote:
>> Hi Kiran,
>>
>> we are using hybrid frame work but taking the inputs from excelsheet.
>> depending upon the status in excel sheet. we will execute the test
>> cases.
>>
>> Regards,
>> Rajkumar
>>
>> On Jul 27, 7:21 pm, Kiran Ogeti <[email protected]> wrote:
>>> Yes thats called Keyword driven testing .. you can search with that in
>>> google if you need to understand how it works
>>>
>>> Thanks
>>> Kiran
>>>
>>> --- On Wed, 7/27/11, rajkumar Thouta <[email protected]> wrote:
>>>
>>> From: rajkumar Thouta <[email protected]>
>>> Subject: Executing the test cases bases on Excel inputs
>>> To: "QTP - HP Quick Test Professional - Automated Software Testing"
>>> <[email protected]>
>>> Cc: [email protected]
>>> Date: Wednesday, July 27, 2011, 1:55 PM
>>>
>>> Hi,
>>>
>>> We are working in automation project we need to execute the test cases
>>> based on excel sheet yes or no criteria. If yes is mentioned qtp need
>>> to pick those test cases and need to execute those only
>>> Need detailed steps information for this requirement
>>>
>>> Regards,
>>> Rajkuma
>>>
>>> --
>>> 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
>>> athttp://groups.google.com/group/MercuryQTP?hl=en
>>
>> --
>> 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
> "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
"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