Jump to content
Sign in to follow this  
qaravi

how can i get the text which was shown against #text?

Recommended Posts

qaravi

how can i get the static text of a web page?

the scenario screen print i attached .

can i get the piece of code to get the static text

thanks,

ravi

static_text.bmp

Share this post


Link to post
Share on other sites
big_daddy

You can use _IEBodyReadText() to get all the text on the page, or you can get a reference to element and call the .innerText method.

I'd suggest next time using a title that better fits the topic.

Edited by big_daddy

Share this post


Link to post
Share on other sites
qaravi

You can use _IEBodyReadText() to get all the text on the page, or you can get a reference to element and call the .innerText method.

I'd suggest next time using a title that better fits the topic.

definitely

thank you very much

ravi_qa

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.