How can I find Text with varies value and click it ?
Order of my job is
1.Get account No.
2. Click on Account No. to the page , and click on tab wich the same Account No.
position of tab will be change as pics
First, Get Account No. using Get text activity and set it to string variable (Say strAccountNumber).
(if the value contains whitespaces, you might need to use Trim method.)
Set Click activity and indicate tab which you want to click.
Modify selector of the Click activity with Dynamic selector like aaname='{{strAccountNumber}}'
Note : You might need to remove some attribute.
I suppose probably the element has aaname attribute. (We can check it using UiExplorer)
And ‘tab1anchor’ might change depending on its position like tab2anchor…
Dear Yoichi,
I have a problem when there are more than 3 accounts it will be click picture “>” and will shown account no in dropdraw list .
I try to select account no but it still error on pic.
Perhaps you should get the selector using UiExplorer. Your current selector contains “IMG” tag but probably it doesn’t seem necessary. (Please use F2 when get the selector)
In addition you can use click instead of click image in general in this case.