Hi, can someone help me how to extract the below data . I need to only extract the values of ID , name , country. Below is the image reference.
Use the use application/browser activity and within that activity use the get text activity and save them into each get text activity as shown below
Regards
Hi @Pushpendra_kowthavarapu ,
If you only want these two values, you can use GetText
If there are many similar sets of values, use a data extract table
Can you provide the website address?
regards,
once you came to Client Information Page
*Use gettext activity and indicate on the required text store it as out_gettext
*by using regex get the required text from the out-gettext
assign:
ClientId=System.Text.RegularExpressions.Regex.Match(out_gettxt,“(?<=Client ID:).*”).Value.Trim
ClientName=System.Text.RegularExpressions.Regex.Match(out_gettxt,“(?<=Client Name:).*”).Value.Trim
ClientCountry=System.Text.RegularExpressions.Regex.Match(out_gettxt,“(?<=Client Country:).*”).Value.Trim
Below had attached the image for further reference
Cheers!!
Thanks for the reply brother. Where can we learn these regular expressions.
Hi @vrdabberu , It is able to extract the text. But when i tried to see the output. It’s repeating the same text whatever it extracted for the first time. I can’t able see the latest extracted data.
Done Same , But it’s throwing me an error that Can not assign ‘System.Text.RegularExpressions.Regex.Match(Client_INfo,“(?<=Client ID:).*”).Value.Trim’ to ‘Client_ID’.
@Pushpendra_kowthavarapu
can you share screenshot of error and assign activity
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.