How to select a column(<td></td>) and click a link(<a href="#">link</a>) of a row(<td></td>) in table of webpage

uiautomation
studio

#21

Ok. Thanks


#22

Any chance to show me now?
or upload one that i can view.


#23

@tmartin

I just uploaded sample xaml file. Hope it helps.

20.xaml (38.9 KB)


#24

Thanks so much. I will let you know.


#25

OK.
I’m still struggling on this one. Let me explain what i’m trying to do. I have an email that is going to come in and off the email i’m going to get a Dollar Amount. When i get the Dollar amount I’m going to go to a web site and i need to find the dollar amount and then click on the link in the next column to download. I feel like this should work but still struggling.
Any thoughts?

Thanks!


#26

which phase do you fail?

  1. I have an email that is going to come in and off the email i’m going to get a Dollar Amount.
  2. When i get the Dollar amount
  3. I’m going to go to a web site
  4. and i need to find the dollar amount
  5. and then click on the link in the next column to download.

#27

We’ve done a work around but this is something i still would like to figure out how to do.
#5 is what it is not doing.


#28

Can you show me the screenshot around you want to click the link, or html source code?

I think everyone watching this thread can not imagine what you really want, because
you provided information enough.

I guess you might use “Anchor Base” activity to capture “the dollar amount” column,
and then click the link you want.


#29

I would like to be your help, because I have been helped a lot in this forum :slight_smile:


#30

I will send you a screenshot later this morning.

Thanks!


#31

Sorry for the delay.
So here is a screen shot of part of the website. . .
image
So from the email we will capture the AMount and look that up and then we need to select the green down arrow. Does this help?

Thanks!


#32

Is that green down arrow a image like gif, png, or jpeg ?
If that green down arrow is
1) a image, that html source code be like “<a href=”/somewhere"><img src=“greendownallow.gif” /></a>",

2) a href link(it might be css image background-image used link), that html source code be like “<a href=”/somewhere"></a>".

You can find the click activity named “Click the 2nd link in a row” in the sample “20.xml”, and
In that properties,
Target
->Element
“tr.FindFirst(FindScope.FIND_DESCENDANTS,new Selector())”,

you need to set “Selector”,

  1. tr.FindFirst(FindScope.FIND_DESCENDANTS,new Selector("<webctrl tag=‘IMG’ />"))

  2. tr.FindFirst(FindScope.FIND_DESCENDANTS,new Selector("<webctrl tag=‘A’ />"))

I would like to see that html source code, so I can be your help more.

hope it helps,


#33

Sounds great. I am out of office until Monday.


#34

I am getting error as selector not found

image

I want to click on request Id, do some operation, and then another row.

Please help