ContributionsMost RecentMost LikesSolutionsRe: Will TestComplete Support Internal wait technique after click on linkHi All, thanks to every one who supported me till now finally we have shifted to sahi tool, @Admin: you can close this issue once again thanks to every oneRe: URGENT: how to get all the links under specific div/ panel onlyHi All, thanks to every one who supported me till now finally we have shifted to sahi tool, @Admin: you can close this issue once again thanks to every oneRe: URGENT: how to get all the links under specific div/ panel onlyHi Javier Coll, thanks for reply. as per your suggession i have used page = Sys.Browser("*").WaitPage("*", 20000) when i used this statement, im getting error Error: Object doesn't suuport this property or method pls let me know, why im getting this error im attaching error screen shot pls look into that One more thing i wanna update you, im not only facing waiting problem when i click on a link, when i enter username and password and click submit button, then my application will be navigating to home page, before it's navigated to home page TestComplete tool is trying to execute next script(home page validation script), but still page is not yet loaded thanks Re: URGENT: how to get all the links under specific div/ panel onlyHi 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 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. :) Re: Will TestComplete Support Internal wait technique after click on linkHi Alexei Karas, After using page.wait() its working fine, but its working sometimes and if i run the same script again its not working wat will the reason any guess ? pls let me know if u have any idea on this thanks in advance Re: URGENT: how to get all the links under specific div/ panel onlyHi Tanya Gorbunova, can you pls replyRe: URGENT: how to get all the links under specific div/ panel onlyHi Tanya Gorbunova, Actually my application page contains like Left Panel and Right Panel frames in Left Panel im having few links, suppose assume Left Panel contains 1,2,3... links (1st class, 2nd class, 3rd class.... links) When i click on Left Panel Link, Example 1st class link Now Right Panel will display all the 1st class student names Assume Right Panel contains students names like A, B, C....Z Now i will click on A student, then A student related details report will get Once the student report is displayed i will verify the details and click back Now page will back to student names list Panel (Right Panel) Now again i will click B student link, i will navigate to B studnet report, so on upto the last name if i complete in verifying all the names in Right Panel of 1st class students details Now i will click 2nd class link from Left Panel, now i will get all the 2nd class studentsdetails in Right Panel Now i will repeat the above steps to verify all the students in 2nd class like wise i will check all the classes links for Left Panel Now my problem is, when i click on 1st class link from Left Panel, all the 1st class students names will display in Right Panel When i click on A student from Right Panel, tool is not waiting until A student report is displaying for that after searching all the posts i have used page.wait() method After using this method its working fine for some times, but some times it is not waiting The same script is working some times and failing in waiting until page loadsfully This is what im facing problem, pls let me know if u know the solution how to overcome this pls find the attached screen shots for sample appliction view hope i have given clear idea about my application with screen shots. pls let me know if there is solution for this thanks in advanceRe: URGENT: how to get all the links under specific div/ panel onlyHi Mike Gunnett, thanks for your reply Yes i have implemented like storing in array and accessing, its working fine, but i have tried in this way, this way is working fine in other tools, thats y i have tried like this if the below way is work then y we have to implement array way thats y i have tried in this way Function fun_Test 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) Log.Message(i &": "&links(i).Height) links(i).click() Next End If End if End Function any how thx for your replies till now thanks to all the folks who have supported me :) Re: Will TestComplete Support Internal wait technique after click on linkHi Alexei Karas, thanks for reply. yes, Sahi Automation Tool is supporting ajax internally. we doesn't required to write any additional script to check the ajax request, internally Sahi is checking i have impletemented shai script for my application and checked, its working fine im looking for the script in TestComplete is page.wait() After using this after the some actions, its working some what better now. TestComplete is waiting until page loads fully but 1 problem im facing, like one time its working fine, but if i executed the script again its not working when it is working and when it is not working im not able say correctly randomly its working, few times its working and some timeesits not working. its my suggession nothing else once again thanks youRe: Will TestComplete Support Internal wait technique after click on linkHi, awesome, good question the question what you have asked, we can do it with javascript, i.e client side so there is no request sending and response receiving from server, since we cannot identify whether page is loaded fully or not but if u do the same thing using ajax based, like sending request using ajax and get response from server, then it is possible to make wait page until response we get i.e nothing but like page load only, obviously we can check whether that specific ajax action is loaded fully or not