Perhaps you only need to use either isElementPresent(uid) or isVisible(uid).
Thanks, Jian On Wed, Dec 22, 2010 at 12:25 AM, Ghanshyam <[email protected]> wrote: > Hi All, > > I am having readonly field on screen and writing test to verify > weather field is availble on the screen or not? > > if(isElementPresent("Next."+elementName)){ > if(isVisible("Next."+elementName)){ > isFlag = true; > } > } > > > > Please suggest if any change in above code. > > -- > You received this message because you are subscribed to the Google Groups > "tellurium-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<tellurium-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/tellurium-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en.
