Owesome Oscar,
Thanks for your help, it worked.
 
I was not able to attach the html file and going forward, I will include 
the HTML as well.
 
Thanks all for your checking and helping.
 

On Thursday, March 14, 2013 4:49:44 PM UTC-5, Pavan Turlapati wrote:

> Hi,
>            I am pretty new to Watir and was just trying to see the 
> feasibility of automating our Application using Watir. I am kind of struck 
> as one of the start point in our application is to search a value and Watir 
> is giving me* "Watir::Exception::UnknownObjectException: Unable to locate 
> element,"*. So, I need some of the experts help to give me a possible 
> solution.
>
> I have also attached the image file of how deep the object is. Below is 
> the line(s) which I used
>
>
>
> $ie.div(:id=>'PegaWebGadget3').iframe(:id=>'PWGadget3Ifr').div(:id=>'PEGA_HARNESS').div(:id=>'RULE_KEY').div(:id=>'HARNESS_CONTENT').table.table(:id=>'EXPAND-OUTERFRAME').table(:id=>'').column_count
> This is giving is a value of 1 but as seen in the image the number of 
> columns (TD's) are more than 1. So it is not giving the current count
>
>
> $ie.div(:id=>'PegaWebGadget3').iframe(:id=>'PWGadget3Ifr').div(:id=>'PEGA_HARNESS').div(:id=>'RULE_KEY').div(:id=>'HARNESS_CONTENT').table.table(:id=>'EXPAND-OUTERFRAME').table(:id=>'').tr.td.text_field(:name=>'$PSearchPage$pClaimNumber',:type=>'text').flash
>
> This is line which I am using for the text box and it is giving me 
> objectException.
>
> Please let me know if you need any other information.
>
> Thanks in advance.
>
> Regards,
> Pavan Turlapati
> [email protected]
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to