Can't Extract Text


I cannot get text, I used Get full text method and some other method too…pls help me to resolve this…

1 Like

Hey @raja_ias

Get Text will be a best option to go with.

Kindly make sure you use a proper selector to get the output.

If you face any error kindly post that as well.

Thanks
#nK

@Nithinkrishna Thanks for your reply…But It doesn’t work for me…Actually I can’t select that part only, I changed UIframework too…

1 Like

Hi

Did we try with GET ATTRIBUTE activity and get the value of attribute aaname or innerText or text as a string variable

Cheers @raja_ias

Kindly show us the selector please…

Thanks
#nK

Hi @raja_ias

You can use Screen Scrapping and also Get Text Activity(Store the output in a variable - TextReport)

Indicated the whole popup in the screen

Use Assign activity

LHS - Create an variable
RHS - Split(TextReport,“is”)(1)

Refer the screenshot for Screen Scrapping

Refer the screenshot for Get Text Activity

Regards
Gokul

1 Like

When i select the area of What I need, But UIFramework Capture Background Stuff…

Here is the selector Below modifying

Here is the selector After modifying

Hope it will help you @raja_ias

Regards
Gokul

Make sure you have the browser extension installed

Go to studio → home → tools and install the appropriate browser extension

If not try using INTERNET EXPLORER as browser type
You will be able to indicate this pop up as a individual element

@raja_ias

Hey @raja_ias

The selector looks a bit un-reliable.

Kindly try with the selector approach suggested by @Gokul001

That should help.

Thanks
#nK

Final
my outut looks like, how to get id separately?

1 Like

Hey @raja_ias

Use your output string variable and perform split function.

outputStr.Split(" ".ToCharArray).Last().Trim

Assuming outputStr is your string variable

Hope this helps

Thanks
#nK

Hi @raja_ias

You try with regex expression

Use assign activity

LHS - Create an variable
RHS - System.text.RegularExpression.regex.match(“InputString”,"(?s)is(.*?) -").group(1)

Regards
Gokul

If you has any queries related to this topic.

If not, Kindly mark the appropriate post as solved @raja_ias

Regards
Gokul