Anyone seeing negative behavior with Click and ClickItem methods with recent upgrades? Web Testing
TestComplete - Testing web based applications Working with latest version of TestComplete and browsers (Predominantly Chrome and Edge) Over the last month or so I've been seeing pre-existing established code become flaky. This seems to be in addition to the recent browser update problems people had with Chrome and Edge. .Click() method In the past, this method always seemed to bring the object into view prior to executing the click. This process seems flaky now. Seeing number of inconsistent errors around attempting to click items that are outside the window display. I've had to insert calls prior to the .Click call. First tried ScrollIntoView, but this has always been flaky, migrated to a .focus() call followed by a short .Delay(). .ClickItem() method In the past, this method has been pretty reliable. Whether providing the string or index to select. Now when I provide a string value to click, it seems mis calculate the item's index value and selects the wrong value. In some cases I've had to go back to old hacks - such as, set focus to the field and send down arrow keys to it (getting the current value, and looping this until it matches the value I want to select). Curious to see if anyone else had had these issues.277Views1like1CommentChanging the values of a variable in a scenario script when used again later in a test run
Hi there, I'm not sure if this has been asked before but couldn't find anything in the community or in the documentation for what I'm looking to do. I'm looking to run a Login BDD scenario I have made which has a Login script that takes projects variables to log the user in. However, I want to be able to run this script twice in one test run, so log user A in do some stuff and logout, then log user B in and do some stuff. I was looking to do this by including my login scenario twice within my execution plan. Is it possible to be able to change what project variables the scenario/script will use later in the execution plan to be able to log the second user in? Thank you for any help 🙂604Views1like4CommentsCreating array with Project variable
Hi, I have a func that repeats in different Scenarios of feature. function test() { If (a> b) { a = project.variable.temp } } Now I need to have an array variable inside the function that stores the values of 'a' each time the function is called in Scenarios and then finally return itself from the function as a normal array. Something like when scenario1 runs this function, 'a' would be 3, then 2,6,0 in rest of the scenaris and the final array would be finalarray = {3,2,6,0} . So when I need to get its value in another function i can simply call by index. Any help is appreciated. Thankyou.Solved912Views1like4Comments