TestComplete/TestExecute Drop-downs
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TestComplete/TestExecute Drop-downs
Good morning,
I am testing our config tool here at EMS and we have an issue with testing in TestComplete/TestExecute
The problem appears to stem from Drop-down boxes/Combo boxes with a number of discrete values, thus:
Enable
Disable
Timed
Now the issue is that values are changed in our tests, however there is a time-lag of up to several seconds before the item changes, due to communication between the config tool and some hardware, and manifests itself in a test recorded with TestComplete not correctly playing-back in either TestComplete or TestExecute (version 12.50)
If you perform the same operation by hand and simply wait the 5 seconds or so, everything works fine, however playing back with SmartBear TestComplete or TestExecute results in the value flipping back to its original value instead of changing.
I am wondering how I can approach testing this in TestComplete/TestExecute?
One factor, possibly, is that no items in the Cell Grid (see attached screenshot) is named, and I have been informed by someone who is a tester that all fields should be named to aid/enable testing.
Grateful for your thoughts
Regards
David Woods
EMS
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is definitely helpful to have named fields when you are testing.
That being said, in the case you are describing, the timing is something you will have to play around with. There are various ways to wait on something to be available before you use it. WaitChild is common.
If you know 5 seconds is always enough, you can build that in to the wait and have the test time out after that. You may need to go a little higher just to be sure.
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the issue is to determine, when Your app is really ready for input.
This can be complicated. I've got the same type of issue and solved it by observing the cursor type (changing from wait to normal and back several times) and additionally wait a little.
Of course, this can be solved by waiting a sufficient long time, but what would be sufficient?
Can Your user somehow recognize, that the app is ready for input? Then You could use the same criterion for automation..
Regards,
Manfred
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the advice
I am in meetings all of last week and this week as well - and working this Saturday, so very limited time to check whether named fields alone will solve this problem.
Our meetings may also stretch into next week, so I will be able to give more feedback sometime next week - sorry for the delay and thanks again for replying to my post.
Best Regards
David Woods
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the advice, Manfred
I am in meetings all of last week and this week as well - and working this Saturday, so very limited time to check whether observing the cursor type and waiting a sufficient time will solve this problem.
Our meetings may also stretch into next week, so I will be able to give more feedback sometime next week - sorry for the delay and thanks again for replying to my post.
Best Regards
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
@DavidWoods, we will be waiting for your feedback.
Tanya Yatskovskaya
SmartBear Community and Education Manager
