As shown in the above pic,
I want I try to get the text from the website using “get text” activity. The entire section (email , username, password, website, browser user agent) are getting hovered.
I want to store each element in the separate variable, such that (ClaraNCarrington@dayrep.com) in variable “email”, (wasom1984) in the variable (username), and so on.
Please give me the solution or sample workflow to make sure the same is done according to our requirement.
Please make it quick if possible because it is highly urgent.
I am trying to store entire section in a variable “compound”
and then using another variable to split the sections by new line.
ie:- strArray = compund.tostring.split(Environment.newline.tochararray())
and then using strarray(0), strarray(1), etc
to do the same. but to not avail.
Please send the sample workflow if possible.
Hi @Ashish32229 ,
I liked the way you think.
OK, I can store the entire section in a variable “check”
And now how can I write it or use it in the separate element and store in the unique variables.??
Please respond.
Thanks and Regards,
hacky_wacky
Yes bro, I get that. but what I was asking is,
I use “get text” and store it into a “generic value” variable. Now how do I write this generic value into the excel sheet as the “data table” variable.
Only if I could do that, my problem will be solved.
I am not able to use data scraping because I just wanted to partition the single element into various variables.
That is exactly why I made use of get text and after the split the section with the help of CharArray for proper use. But I was getting syntax error.
But as you said, if I try to use data scrapping on it. I cant select more than one element since I am concerned with only one section.
So storing that section in the cell of excel sheet (for example A1) makes no sense because the element will still be considered as a whole.
When you said that theres way to separate the section through datatable I was convenced but then now I am not able to find the way where I can retrieve the entire section and write it in the excell sheet in the proper parrent from where I can read the particular data.
Please check the images to see…
like in the first one see, how it shows that the entire section (including client id, client name and client country) is choosen as a group element .
But I need to select them separately.
Also check out the second image to show the selector of the entire section as a whole.