Web Automation - Find specific word and save the Account

Hey Team,

Could someone please help me on below,

Open Web application > There will be many Accounts as hyperlink (‘n’ number of pages) > User will need to click on each account and search for a specific word > If the specific word is available need to note those accounts and save that else go back, click next account and so on!

Hi @Ebin_Raj

Use Open Browser Activity and then use click activity and then use for each row in datatable

row(“ColumnName”).ToString.Contains(“Your Word”)

then use get attribute activity and then use Build Datatable activity and add data row and use click save

Thanks
Ashwin S

hey @AshwinS2,

I ve attached screenshots as well… could you plx have a glance!

Click on 1st account . Then search word “360 DigiCoaching Services” under “All Orders”

image

If this condition matches > need to note the Account name . If not click on next and follow the same

Hi @Ebin_Raj

Use is accounts are in excel use click on text and based on that loop it

and then use search value and use type into and check click before typing as value and then use Click On text again with UiExplorer and pass the aanmae as give it as row(“ColumnName”).ToString

Thanks
Ashwin S

Is number accounts are static ,
if yes then use while loop for click on those hyperlinks before that use get text for storing that account number and then use Text Exist
If exist
then write that account no and go back for second account

@ImPratham45 @AshwinS2 -

I fetched the textword using Gettext activity and used ‘If’ activity. Both - fetched text and Standard_textword are same. Below is the syntx i used. But its taking the ELse condition.

Gettextfetched from web.ToString.Contains(“Standard_textword”)

Hi @Ebin_Raj
Before checking the condition are you able to print the same word in log message

Thanks
Ashwin S

Hey @AshwinS2 yeah am able to do so!

Is both are same?
If yes then
Gettextfetched from web.ToString.trim.Contains(“Standard_textword”)

1 Like

Whether you are getting the proper output from the get text??..
Check with the @ImPratham45 code it should work.

Use the below code,
GetText.ToString.Trim.Equals(“Standard_textword”).

@Manish540 @ImPratham45 @AshwinS2 - I am using chrome browser, still its not functioning as expected Also if possible could you please share any sample projects.

Open Web application > There will be many Accounts as hyperlink (‘n’ number of pages) > User will need to click on each account and search for a specific word > If the specific word is available need to note those accounts and save that else go back, click next account and so on!

I ve attached screenshot above!

What result you are getting in Get Text?

Please find below

@ImPratham45 @Manish540 @AshwinS2 - Could you please share any sample for above project! Thanks in Advance

Hi @Ebin_Raj
Check this
Main.xaml (15.3 KB)

Thanks
Ashwin S

Thanks @AshwinS2 - Could you please share your mail id and contact details to get in touch! Thanks

Hi @Ebin_Raj
ashwinsrini88@gmail.com

Thanks
ashwin S

Hi @Ebin_Raj

i tried to send a mail its saying that “email address not found”

anyways my contact no:9003256482

Thanks
Ashwin S