Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to verify different + icon imgaes with same name as "icon_expand"
#1
Not Solved
Hi,

I have 3 menu items on a page and I can expand and collapse these menus by clicking the + or minus icon. But when I run the script it does not know the difference between the 3 + icons when I try to expand them becaus all the + icon images have the same name "icon_expand"

Thanks,
Sqadri
Reply
#2
Not Solved
Try using the index property.
Reply
#3
Not Solved
Code:
webelement("index:=0",some other properties).click
Reply
#4
Not Solved
Hi Rajpes,

Thanks, I tried it and it worked one time and after that it did not work. In the meantime I used x and y coordinates--I dont like this approach but for now. Do you have any other solution please?

Thank you,
Sqadri
Reply
#5
Not Solved
attach screenshot with object spy details, let's see
Reply
#6
Not Solved
Hi,

I have a webtable like below

Req No. Status Date Copy
12345 Initial 5-Jul-12 Print_Icon
45677 InProgress 5-Jul-12 Print_Icon
6545 Initial 5-Jul-12 Print_Icon

I have to capture the Req No. according to the order submitted.
here the only unique value is comments and which can be seen inside the print_icon.png. I should open the image and check for the unique comment and then capture the corresponding req.no.
Please help me.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT] [WPF] Verify if the cell contains an image robertosalemi 0 1,779 10-25-2016, 06:57 PM
Last Post: robertosalemi
  Need to verify the drop down values based on condition santhoshmscsoftware 1 2,714 05-04-2016, 11:28 PM
Last Post: supputuri
  verify that parent properties match object currently displayed in your application. sona 0 2,943 02-21-2016, 12:00 PM
Last Post: sona
Exclamation How to verify whether pdf is completely loaded or not in webpage nmakkena 1 2,478 08-27-2014, 04:09 PM
Last Post: vinod123
  to verify the presence of items in wpf application Priyanka2 0 2,250 10-10-2013, 03:52 PM
Last Post: Priyanka2

Forum Jump:


Users browsing this thread: 1 Guest(s)