Selector Help for Get Text item

Hi

I have scraped these fields on a test website using Get Text, but when i complete one iteration of the process and go to process another item which has different names, it retains these values, which is definitely not what i want. Do you recommend another activity i could use? I used First Name as an anchor, but need to select the text after it dynamically to store in a variable for use later in the process.

Untitled

Thanks in advance.

Here is the selector for it below, the idx of 3 was for last name, i already have a variable created called str_last_name, which i was using with the get_text activity first time round

<webctrl css-selector='body&gt;div&gt;div&gt;main&gt;section&gt;div&gt;div&gt;div&gt;div&gt;div&gt;div&gt;div&gt;div&gt;div&gt;div&gt;div&gt;div&gt;div&gt;div&gt;strong' idx='3' tag='STRONG' />

Hi @pad82

Can you try to capture element once again and without idx element, try if you can get the div element that contains all these 3 first name, last name, salutation.

If possible please provide a screenshot of UiExplorer when you select the first name last name.

Thanks

@pad82

Welcome to the community

Please use ui explorer to identify your elements

And please remmeber few points while identifying

  1. Css-selector has high probability of changing so please dont tely on it
  2. Idx is also changing depending on the new elements of similar type being populated
  3. Anything dynamic that is with numbers should not be used unless needed and no other go
  4. Try using the centre top and the right top panels to check different attributes related to each selector and come up with a dynamic one
  5. You can try using innertext and where you see name etc…which are specific can try using astrik(") inplace of it which would take any character that is present

Hope this helps

Cheers