Forum Discussion
programdoubts
13 years agoContributor
Hi Javier Coll,
thanks for replying.
yes the way u suggessted is also one of the correct way, but its not suggesstable
we can use the way, which u have suggessted, only the suitation when the next navigated page is known, i.e when i know what will be the next navigated page only
but here in my application i dont know what will be the next page, it will be random,
so here tool need to wait until the page gets loaded fully.
there is no other option for me, tool should wait until page gets loaded fully
in other tools like Sahi tool having this option, it will wait until page gets loaded fully without fail and other adv is, it will support internal ajax also, internally it will check ajax request and wait until Ajax request is processed
if this is possible with TestComplete tool, then it gonna will rock. Every thing is fine with TestComplete but it is not able to wait until page gets loadedfully
For Automation tools this is the minimum feature, tool should take care of these things
can't we handle these things with script ? Yes we can do but its not suggesstable way
Seems TestComplete is not able to supporting these features.
Smartbear Team if ur tool supports these features, pls let me know
Below is the script/ code which i have developed, pls let me know, if there is wrong with my script itself/ tool not able to support this feature
thank u all, who supported me till now. :)
thanks for replying.
yes the way u suggessted is also one of the correct way, but its not suggesstable
we can use the way, which u have suggessted, only the suitation when the next navigated page is known, i.e when i know what will be the next navigated page only
but here in my application i dont know what will be the next page, it will be random,
so here tool need to wait until the page gets loaded fully.
there is no other option for me, tool should wait until page gets loaded fully
in other tools like Sahi tool having this option, it will wait until page gets loaded fully without fail and other adv is, it will support internal ajax also, internally it will check ajax request and wait until Ajax request is processed
if this is possible with TestComplete tool, then it gonna will rock. Every thing is fine with TestComplete but it is not able to wait until page gets loadedfully
For Automation tools this is the minimum feature, tool should take care of these things
can't we handle these things with script ? Yes we can do but its not suggesstable way
Seems TestComplete is not able to supporting these features.
Smartbear Team if ur tool supports these features, pls let me know
Below is the script/ code which i have developed, pls let me know, if there is wrong with my script itself/ tool not able to support this feature
Function fun_LinkTest
Dim page, links, linksCount, link, URL, i, panel
Dim PropArray, ValuesArray
URL = "http://www.domain.com"
Browsers.Item(btIExplorer).Run(URL)
Set page = Sys.Browser("*").Page("*")
Set panel = page.FindChild("idStr", "leftPanel", 14)
If panel.Exists then
PropArray = Array("ObjectType","visible")
ValuesArray = Array("Link","true")
links = panel.FindAllChildren(PropArray, ValuesArray, 9)
Log.Message("Total No. of links: "& UBound(links))
If UBound(links) > 0 Then
For i = 0 To UBound(links)
links(i).click()
Next
End If
End if
End Function
thank u all, who supported me till now. :)
Related Content
Recent Discussions
- 42 minutes ago
- 15 hours ago
- 7 days ago
- 10 days ago