I need to extract a text which has a value from a web page. Example the text is Category. Category contains a different single value every time like 1, 2 ,3…
I need to capture that text and if the Category equals 2 or 3 or 4 then i proceed if it does not equal i need to put a message box.
How do i capture this text and how to write the condition
Hi @RACHEL_PAUL ,
Have you tried using
Get Text Activity ?
@RACHEL_PAUL please follow these steps.
1-open browser/attach browser activity.
2-place inside get text activity
3-put string variable in get text activity,
4- put if loop
5-put condition ( stringtext is “2” or stringtext is “3” …and so on…
if true put all your code in then block
@RACHEL_PAUL welcome, Happy Learning
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.