Hi All,

I am getting some inconsistent behavoiur while running tellurium testcases.
Please help me or suggest the appropriate approach of implementation in
resolving below issue's or query.

 1. What is exact difference between 'waitForPageToLoad(30000)' and 'pause
30000' selunium methods.
*I mean Is 'waitForPageToLoad' also takes pause for 30000 ms or is it
waiting till all components are loaded on page? *
my observation is 'waitForPageToLoad'  takes pause of max time that we
provided and does not resume immediatly once page is loaded.

 2. *How does tellurium engine identifies if element present using
'waitForElementPresent' ?* Does it operates after page is fully loaded or
while page is loading?

I am using below function where I am checking element presense using
'waitForElementPresent' and then doing operation on it.  Still few times
getting error of that 'element not find' though I can see element on page.
*Why this inConsistentcy is coming, Can you suggest the right approach if
any?*
**
*private* *void* *enterFieldData*(hMap){
       hMap.*each*() { key, value ->
*       println* "${key} == ${value}"
       String elementName = "${key}"
       String elementValue= "${value}"
       waitForElementPresent("AddAssetForm."+elementName,intElementLoadTime)
*       if*(elementName.toString().equals("AssetName") ||
elementName.toString().equals("Biller")
       || elementName.toString().equals("Description") ){
       type "AddAssetForm."+elementName,elementValue.toString().trim()
       pause 1000
}};}

Thanks in advance..



-- 
*Thanks,
*Ghanshyam Baheti.

*Don't aim for success if you want it; just do what you love and believe in,
and it will come naturally... David Frost*

-- 
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.

Reply via email to