Kishore
I tried as u mentioned before. But it is not working.

Now I am providing sample scipt. If u r interested pls solve my problem...

SystemUtil.Run "IExplore.exe"
Browser("title:=about:blank").page("url:=about:blank").Sync<http://mail.google.com/mail/=about:blank";).Sync>
Browser("title:=about:blank").navigate "www.yahoomail.com"
Browser("title:=Yahoo! Mail: The best web-based email!").page("title:=Yahoo!
Mail: The best web-based email!").webedit("name:=login").Set "username"
Browser("title:=Yahoo! Mail: The best web-based email!").page("title:=Yahoo!
Mail: The best web-based email!").webedit("name:=passwd").SetSecure
"password"
Browser("title:=Yahoo! Mail: The best web-based email!").page("title:=Yahoo!
Mail: The best web-based email!").webbutton("name:=Sign In").Click
Browser("title:=.*").page("title:=.*").Sync
Browser("title:=.*").Page("title:=.*").Link("text:=Inbox .*").Click

Thanks in advance..

Venkat

On Wed, Jan 7, 2009 at 12:22 PM, Kishor Kumar <[email protected]> wrote:

> Hi Venkat
>
> use the same as below
> browser("b").page("p").frame("f").link("innertext:=Inbox.*").click
>
>
>
> On Tue, Jan 6, 2009 at 9:12 PM, venkata koduri 
> <[email protected]>wrote:
>
>> Hi Kishore,
>>
>> No object repositories in my script. I want Descriptive method.
>>
>> Venkat
>>
>>   On Tue, Jan 6, 2009 at 7:20 PM, Kishor Kumar <[email protected]>wrote:
>>
>>> Hi venkat,
>>>
>>> Simply use .* where the deynamic values or changing.
>>>
>>> Goto Object Repository .select Inbox object then in Innertext or text
>>> property clik on right side ,in the pop up windows just type Inbox.* then
>>> check the Regular Expression check box .It will ask you use / in regular
>>> expression simply click no.
>>>
>>> In innertext you will see *.*Inbox.* like this try to highlight the link.
>>>
>>>
>>>
>>> Regards,
>>> Kishore
>>>
>>>   On Tue, Jan 6, 2009 at 4:00 AM, venkata koduri <
>>> [email protected]> wrote:
>>>
>>>>   I have a scenario like every time i have to click a link which is
>>>> dynamically changed.
>>>> Just imagine like "Inbox (2)" in Gmail or Yahoo mail. I know the regular
>>>> expression is the solution.
>>>>
>>>> How can i hadle  the regular expression in descriptive programming.
>>>>
>>>> Pls provide the sample ...........
>>>>
>>>> --
>>>> Regards..
>>>> Venkat
>>>> >>>>
>>>>


-- 
Regards..
Venkat

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to