Property Checkpoint problem
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Property Checkpoint problem
Hello, I'm trying to use the Property Checkpoint on a flyout notification bubble but TestComplete isn't detecting the right text. The 'actual' value it gets is the name of the flyout - "User Must". But my 'expected' value is the text inside the bubble, specifically the text that is boxed in provided in the screenshot. Thanks.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would you get a screenshot of Object Spy with Extended properties for this object and post it? That might help.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was trying to do that and send a screenshot of that as well. However, when attempting to use the object spy, the flyout bubble goes away. It stays when I try to use the property checkpoint.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the bubble its own object in your name mapping? If so, you can get to the properties from there.
If not, just get as close as you can with Object Spy and let's look at that.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay so
Aliases.browser.pageAutomationInstinctbetaGongos12.panelPartialprofile.formEditprofileform.panelpanelpanel.contextText
is your bubble text (call it bubbletext for short) and to get just the middle text, you want something like
If aqString.Find(bubbletext,'Not Already Be In Use') = -1 then
Log.Error("not found")
else
Log.Message("found")
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is scripting the only way I can do it? I'm only using keyword testing at the moment.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the help. I think I should be able to figure this out.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any time!
