Is it possible to achive 100% descriptive programming in TestComplte.?? For the desktop application
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to achive 100% descriptive programming in TestComplte.?? For the desktop application
Is it possible to achive 100% descriptive programming in TestComplte.?? For the desktop application
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No. (Assuming 'Descriptive Programming' means referencing all tested objects via NameMapping/Aliases only.)
Just because your application uses (third-party) controls like grids/lists/combos/etc. that require custom access to their elements and the location of these elements is not static. (E.g.: "Locate the 'US $' cell in the Currencies table/grid and click Edit button in the right-most column to edit the exchange rate.")
/Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Define "descriptive programming".
If you mean the concept used in HP QTP/UFT, that is, identifying objects without using the Object Repository - yes TestComplete supports this too. You do this by using the object names seen in the Object Browser and/or the Find* methods.
For example:
Sys.Process("explorer").Window("Button", "Start").Click();
is a "descriptive programming" version of
Aliases.explorer.btnStart.Click();
Check out these threads for more examples:
Can we do descriptive programming
descriptive programming with Python
Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
