Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
output check point
#12
Not Solved
Hi Azad,

Ur Code..

Code:
Datatable.GlobalSheet.AddParameter"MPI",""
DataTable("MPI","Global")= Browser("micclass:=Browser").Page("micclass:=Page").WebElement("html tag:=H3","outerhtml:=<H3>$2,997.75</H3>").GetRoProperty("innertext")

The above code will not work as the outerhtml property contains few special characters($,.). You need to ignore\escape these characters using Regular expression escape character...

Use the below code and see if it works..

Code:
DataTable("MPI","Global")= Browser("micclass:=Browser").Page("micclass:=Page").WebElement("html tag:=H3","outerhtml:=<H3>\$2,997\.75</H3>").GetRoProperty("innertext")
OR
Code:
DataTable("MPI","Global")= Browser("micclass:=Browser").Page("micclass:=Page").WebElement("html tag:=H3","outerhtml:=\<H3\>\$2,997\.75\<\/H3\>").GetRoProperty("innertext")

=================================================================
There is one more solution to your issue if you know what value you are looking for on the page.

Code:
strPageContent=Browser(<BrowserName>).Page(<PageName>).Object.body.innertext

now strPageContent will contain all the data present on the page. You can use the Instr function to search for your value.

Do let me know if this desn't help or if you have any other query.

Regards,
Ankesh
Reply


Messages In This Thread
output check point - by sdazad - 10-29-2011, 01:13 AM
RE: output check point - by ravi.gajul - 10-29-2011, 12:21 PM
RE: output check point - by sdazad - 10-31-2011, 05:33 AM
RE: output check point - by ravi.gajul - 10-31-2011, 09:38 AM
RE: output check point - by sdazad - 10-31-2011, 11:09 AM
RE: output check point - by ravi.gajul - 10-31-2011, 12:40 PM
RE: output check point - by sdazad - 10-31-2011, 07:18 PM
RE: output check point - by sram24 - 10-31-2011, 12:44 PM
RE: output check point - by Ankesh - 10-31-2011, 08:19 PM
RE: output check point - by sdazad - 10-31-2011, 09:00 PM
RE: output check point - by ravi.gajul - 11-01-2011, 01:13 PM
RE: output check point - by Ankesh - 11-02-2011, 10:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  table output values shipu 1 2,337 01-24-2014, 10:06 AM
Last Post: supputuri
  Type Mismatch:Check point while using DP Uma 0 3,779 09-07-2011, 05:26 AM
Last Post: Uma
  How can I output table values and see them Mala 0 3,156 03-05-2011, 01:32 AM
Last Post: Mala
  How to retrieve value of a text output? paulwesterman 2 16,120 01-14-2011, 05:56 PM
Last Post: paulwesterman
  How to use output values. upadhyay40 2 4,209 12-15-2009, 12:52 PM
Last Post: upadhyay40

Forum Jump:


Users browsing this thread: 2 Guest(s)