Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find and select text
#1
Not Solved
Hi everyone,

I am trying to create a script that will find a specific piece of text on a webpage and when it does it either clicks it or selects it in any other valid way. I have tried using the record tool to read my inputs but I have had no success with this method. All I really need would be the line of code or the function which would work in the instance.

Any help is appreciated.

Many thanks,
Daniel
Reply
#2
Not Solved
Hi ,

You can make use of descriptive programming , or regular expressions in the Object repository to identify the object containing the required test and then apply 'select' or 'click' action on it. please attach screenshots showing which text you want to select , so that we can try out.

thanks,
Harish
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to find and change text in PDF document using QTP UFT automation VBscript alexwhite 0 11,904 02-18-2017, 04:20 AM
Last Post: alexwhite
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,543 09-13-2015, 12:06 AM
Last Post: ADITI1992
  How to select the drop down option by searching for partial text Neetha 4 8,271 08-04-2015, 08:55 PM
Last Post: Neetha
  Find a text in Runtime datatable ra.dineshkumar@gmail.com 1 1,862 12-01-2014, 06:18 PM
Last Post: supputuri
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,288 08-13-2013, 08:37 PM
Last Post: excellentpawan

Forum Jump:


Users browsing this thread: 1 Guest(s)