Contributions
Re: why doesn't NativeWebObject.Find method work for inprivate IE
Hi, The Url provided is asking for username and password. Not being able to see an example, I have not come across Native Web Objects that include "Innertext" as an property. Usually it's just height, id, name and width. Double check the NativeWebObject properties of the button to see if they are correct. The innerText property I don't think can be accessed with the NativeWebObject object. Try using Find. Example: sys.browser("iexplore").page("*").find("innerText", "Buy", 50)2.3KViews0likes8CommentsRe: Strange behavior- the object was found and clicked but there is a long delay before the next step
Hi Silvana, I suggest putting a break point at the line immediately after the click to select the item from the combo box. Then step through the code to see which code is taking an excessive amount of time. Good luck!688Views0likes0CommentsRe: has test complete identify the object when that object is not appear in the page ?
When you say a "page" what do you actually mean? If referring to a tabbed control then sure, Test Complete should be able to see an object that exists on page 2, even though page 1 is the current page. If you look closely at what you have written, you can see the full reference to the object that Test Complete is working with, Aliases.browser.pagetest.objecttest.test... It doesn't matter that a user can't see it on the screen. As long as the object actually exists then Test Complete can identify it. Sometimes objects don't always exist on other tabs until that tab is selected for the first time. In which case Test Complete will not be able toidentify the object.712Views0likes0CommentsRe: Test Execution on Remote Machine
When disconnecting from an RDP session it locks the screen, which causes issues when running TC. I overcome this by disconnecting usingTSCON from a dos window on the remote machine. Example: TSCON 2 /dest:console Tests can be run on remote machines using Distributed Testing.1.1KViews0likes0CommentsRe: Supress Object Not Found Error Optionally
You can use an error handler to ignore the exception. For example for VBScript: on error resume next err.clear ' Insert code here to check if object is visible if err.number <> 0 then ' the object does not exist else ' the object exists end if ' turn off error handling on error goto 01.1KViews0likes0CommentsRe: Object Propery value changing everytime
The full path of objects in Web Applications do change. It is best to look for a property on the object that does not change. For example get someone to create a new property on all objects called testId. This will be the primary key and it's contents should never change once set. Next search for the object based on it's testId. Such as set myObject = sys.browser("*").page("*").Find("testId", "FindMe"). Where "FindMe" is the unique content for the property testId.528Views0likes0Comments