Re: How to click a WebMenu icon

2016-11-08 Thread sarahmear9
thanks, this worked.



On Thursday, November 3, 2016 at 7:40:02 PM UTC-4, gurma...@gmail.com wrote:

> Hi, 
>
> You said that the web menu has 2 objects-image and link and that u want to 
> click on the image. 
>
> Could u try the following: 
> Set imgobj=Description. Create 
> imgobj("micclass").value="Image" 
>
> Set x = 
> Browser("abc").Page("HelloWorld").WebMenu("TabView:0:scForm:j_idt98").childobjects(imgobj)
>  
> 'this returns all the childobjects of type Image. In this case, we have 
> only one such childobject 
>
> x.item(0).click 
>
> Let me know if it works or not. 
>
> Thanks, 
> Gurman

-- 
-- 
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 MercuryQTP@googlegroups.com
To unsubscribe from this group, send email to
mercuryqtp+unsubscr...@googlegroups.com
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 mercuryqtp+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to click a WebMenu icon

2016-10-13 Thread Vikash Mishra
Use Sendkeys if not working 
like WSH.sendkeys "Alt+E"  //Use Alt shortcode and E stand for the name 
like Enterprise , if name is figure the use F like use.. but  do it 
manually first
wsh.sendkeys "Down" //check how many downs we have.
wsh.sendkeys enter. 


Always send a snap shot of your issue will be more clr..i mentioned 
everytime ,please

On Wednesday, October 12, 2016 at 8:02:50 PM UTC+2, sarah...@gmail.com 
wrote:
>
> Hi
>
>
> Browser("abc").Page("HelloWorld").WebMenu("TabView:0:scForm:j_idt98")
>
>
> The webmenu has an Home icon and some text link.  If we click the icon, it 
> takes you back home and if we click on link, it displays more links on the 
> page.
> Spy captures both the icon and the text link as webmenu.  Recording 
> results are the same.  I need to click on the Home icon only.
>
> Please help.
>

-- 
-- 
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 MercuryQTP@googlegroups.com
To unsubscribe from this group, send email to
mercuryqtp+unsubscr...@googlegroups.com
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 mercuryqtp+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.