Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to get text from Web page
#4
Solved: 11 Years, 3 Months, 1 Week ago
Hi Thank You for the Reply
The problem solved with the below code

Code:
Set oDesc = Description.Create()
oDesc("html id").Value = "lblError"
oDesc("html tag").Value = "SPAN"
x = Browser("AutoDCR").Page("B u i l d i n g P l a").Frame("contents_3").Webelement(oDesc).GetROProperty("outertext")
MsgBox x
Set oDesc = nothing

I got the text from Row3 & Col1 using standard Check point
I used Replace & mid functions to get the correct one.

thanks for both of you.

But please help me on how to handle the frame as name changes from Frame(Contents_2), Contents_3...etc
I want to maintain a common repository through out the script by keeping all objects in Contents. Actually i moved all the objects from Contents_2 & 3 in to Contents and changed the code also, but this is not working in run time
Reply


Messages In This Thread
RE: Unable to get text from Web page - by nistalaramesh - 11-26-2010, 11:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 4,479 10-01-2019, 10:44 AM
Last Post: shilpi952
  unable to rowcount in web table manoj84monu 1 2,887 06-13-2016, 04:46 PM
Last Post: Anu1234
  DP Web Browser/Page issues rstimers 1 2,420 08-14-2015, 12:37 PM
Last Post: venkatesh9032
Question Capture Entire Web page through QTP learnQtptips 2 11,903 07-25-2013, 05:24 PM
Last Post: vinod123
  Unable to click on moving text in a website Akhila 4 3,978 07-18-2013, 02:38 PM
Last Post: tanyamrz

Forum Jump:


Users browsing this thread: 3 Guest(s)