Contributions
Testing web app with hundreds of panels in depth
I'm tasked with writing functional tests for a web app that is either poorly designed or uses some method that test complete is rendering the objects in a long way. I've found that a text box in a section of the screen is buried literally 100's of panels deep. If I attempted to map it, TestComplete takes like 30 seconds to even pop up the little window telling me all the parent objects I'd have to map. There's no way I want to do that. I did come up with a function to find the text box and other objects based on some property values. I could automate that way but I was hoping someone might have some insight into this multiple panel thing. Maybe there is a plugin that I might need?22KViews0likes1CommentRe: Huge delay between events when executing script
I'm having the same problem where when I start up scripting it's fine but after running a few scripts or working in TestComplete for about 10 minutes it slows down my computer a lot. It actually renders it useless till I shut down TestComplete. I use Firefox for my primary testing browser and I do use the Tag model. I don't want to change the model since TAG works the best for me with Firefox and what I need to do. I also notice that the Object browser will refresh on me all the time. I will be trying to map an object and it will suddenly keep refreshing every 2 seconds. Again, I have to shut down TestComplete and start over. Are there any other settings in the TestComplete config file I might try to change?1.8KViews0likes0CommentsRe: Access Object Array
How wold this be accomplished in vb script? I thought it would be just as straight forward but it doesn't seem to be. This code works: xresult = builtin.CreateVariantArray(0,1) xresult = webservices.Mysvc.GetEmployeeCountByGroup(SvcType_Application, "ABC",SvcType_Groups, SvcType_Token) However when I try to analyze anything with the xresult array it doesn't want to allow it. For instance the code below produces an error stating "Invalid Argument". Ultimately what I want to be able to do is brwose through the array and verify the properties of the objects returned. log.Message(VarArrayLowBound(xresult, 0))1.2KViews0likes0CommentsRe: not able to get text(0) from msctls_statusbar32
BRILLIANT! You just made my Friday. I knew there had to be some sort of text recognition function in TC but it's not quite obvious how to get it. Your link to enabling the text recognition was the key. It works wonderful! Thank you very much.988Views0likes0Commentsnot able to get text(0) from msctls_statusbar32
This should be relatively simple but I firmly believe the developers of AUT didn't quite complete the status bar text commit or something in the code. Here is my situation: I have a standard (msctls_statusbar32) status bar. It has text in it giving some indication of where the user is in the application and what actions are happening. I attempt to print it to the log it like this: Log.message Aliases.Sys.MyApp.wndlpdrvr.Window("msctls_statusbar32", "", 1).wtext(0) I get nothing, even though there is 1 item in that index and the status bar does have text. What is odd I can set the wCaption property to what ever I want and I can then get the wText property just fine. But in normal operation of the AUT it will not get any text at any time from that control. Does anyone know what it is that might be prevening TestComplete from getting that property as it should? .message ..LPDRVR.wndlpdrvr.Window("msctls_statusbar32", "", 1).wtext(0)I get nothing, even though there is 1 item in that index and the status bar does have text. What is odd I can set the wCaption property to what ever I want and I can then get the wText property just fine. But in normal operation of the AUT it will not get any text at any time from that control.Does anyone know what it is that might be prevening TestComplete from getting that property as it should?22KViews0likes3Comments