Contributions
UIAObject index of the object keep changing, cannot map the object.
I want to map this State object, but each time the test run, the index keep changing. I have same issue with the other obejcts and i wrote a function to get the object by the "WndClass". It is working great. The only thing is that i have to call that function to get the objects and it happens to for multiple objects. Is there a way to map them? I am testing desktop application using javascript.810Views0likes2CommentsRe: Using getActiveXObject("Excel.Application") is taking long time.
Thank you Robert for your response. I am going to try usingDDT.ExcelDriver. The reason why I didn't use it before is because I have more than 48,000 rows in the excel sheet. My question is how to useSQL statement in excelDriver? Thanks1.3KViews0likes1CommentUsing getActiveXObject("Excel.Application") is taking long time.
Hi there, I am usinggetActiveXObject("Excel.Application") to read and write from excel. It seems slow to me. Is there any other way to read and write from excel that I can use ? I don't useDDT.ExcelDriver because I get values by row number. Currently, my script takes 27 seconds to get values from 3 columns 71 rows. Thanks, Apple1.4KViews0likes3CommentsRe: ClickItem() does not work
Thank you cunderw I ran your code, the log message says "Unable to perform the action because the control is invisible." , no error before that. I don't believe it is the time issue. the same object can do Click() but right after that cannot ClickItem(). I think it is something to do with the ClickItem(). I have found that i had to do ClickItem() twice to make sure the action really happens it the other 3 scripts. Also another project has the same issue with ClickItem() sometimes get skipped as well. When I have 2 lines of ClickItem()s, if they both work, the ClickItem() happens twice.The log message shows 2 Event. When one does not work, (usually the first line) it just get skipped and the second line does the ClickItem(), with no error message. The log message only shows 1 Event.878Views0likes1CommentRe: ClickItem() does not work
So...I added Click() method, followed with ClickItem() and there is no error message but the script work inconsistently. The ClickItem() sometime get skipped. aqUtils.Delay(10000, "Wait for View"); views_dropdown.Click(); aqUtils.Delay(10000, "Wait for View"); Log.Message(item); views_dropdown.ClickItem(item); // work sometimes ,why??? views_dropdown.ClickItem(item); // this one works Then, I added ClickItem() again to make sure the action is taken. And I realized that I had to do the same thing on the other script with ClickItem() method a while back. Because the first line is skipped and the second line works. Aliases.browser....ClickItem(year); // this line sometime get skipped , not sure why???? Aliases.browser....ClickItem(year); Having 2 lines of ClickItem() seems to be a workaround for this issue. The other project also experiences this issue as well.2.3KViews0likes4CommentsRe: ClickItem() does not work
I thinkThe error "Unable to perform the action because the control is invisible." is because the object was not clicked with ClickItem() method. and the list of items in drowdown were invisible. However, when use Click() the object was click and the dropdown was visilble to select item. Then I will have to map the item to do another Click() method to get the actions I want. Before the upgrade, it used to work just fine with one ClickItem(). Can we add a delay in ClickItem() method? Thanks2.3KViews0likes0Comments- 2.3KViews0likes0Comments
ClickItem() does not work
I have script testing item with object.ClickItem("Item") that used to work before the update. With the new update, it somehow does not work anymore. I have an error "Unable to perform the action because the control is invisible." The object has the ClickItem methods listed, but does not work. I wonder if there a change on ClickItem() method? The click() method does the click but I need to select one of the item there. I could map that item and just do the Click() twice but really don't want to. There are other items that I have to change as well. I tried increase delay between events, but didn't help. How do I get this ClickItem() to work again? Thanks2.7KViews0likes12CommentsHow to validate if object is hyperlink
I have to validate if objects are hyperlink. I cannot find any properties that can identify if it is hyperlink. it will be something like this on screen... Object 1 Object 2 How can I validate that Object 2 is a hyperlink? I looked into both objects properties and they looked the same. This objects are in a table, same column, different row.1.3KViews0likes3Comments