Hi John,
thanks a lot, it worked.
thanks again,
bhavesh
On Feb 19, 7:39 pm, JArkelen johnvanarke...@gmail.com wrote:
Connect to the frame, so instead of:
ie.link(:id, 'some_link').click
use:
ie.frame(:id, 'tableViewFrame').link(:id, 'some_link').click
Cheers,
John
On Feb 19, 7:14 am, Bhavesh bhavesh1_sha...@yahoo.com wrote:
Hi,
Currently i am using ie.html and ie.text to get the page source and
then
using this i can actaully clicking on the objects etc.
However there are some changes done recently of EXTJS and now im not
able to see
page source. It is now like frame wise.
When talked with developer, it is replied like now page source is
frame
wise.
Earlier i use this command to get page source --
“javascript:'xmp' + window.document.body.outerHTML+ '/xmp'”
But now it is --
“javascript:'xmp'%20+
%20document.getElementById(flatViewFrame).contentWindow.document.body.out
erHTML
+%20'/xmp'”
“javascript:'xmp'%20+
%20document.getElementById(tableViewFrame).contentWindow.document.body.ou
terHTML
+%20'/xmp'”
So i dont know what Watir uses bydefault or internally?
I there any way i can change it in Watir so that i can get the source.
If i fire my script it is failing.
in my script i verifying text appearing on the page, and uisng ie.html
for it, but it is failing as it is not able to grap the complete page
source.
Bhavesh- Hide quoted text -
- Show quoted text -
--
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
watir-general+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/watir-general