11-26-2010, 11:31 AM
Hi Thank You for the Reply
The problem solved with the below code
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
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