- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
target of ASP webpage not captured correctly
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 03:57 AM - last edited on 05-19-2010 05:35 AM
Hi, I just trying to integrate iTest with Quality Manager from Ascom. It's an windows asp based web service, only works on IE and not firefox or chrome.
When I do the capture, seems all the actions are captured, but some of the targets are not correct. Please see the attachment for a sceenshot of the webpage, the line boxed by redline are not captured properly when I try to click and select it. While I replay the test case in IE, it just complained no target found. When I try to do a snapshot of the webpabe, iTest plugin was crashed and the whole session aborted.
page source and fftc file also attached. Not sure if there is any limitation on asp webpage testing?
Best Regards
Daniel
Re: target of ASP webpage not captured correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 03:58 AM
webpage source follows
Re: target of ASP webpage not captured correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 08:18 AM
The targets being generated for the items in the table look like:
://LI[41]/DIV/DIV;
Which ir probably the 41st element in some list.
iTest's web application deals with the underlying HTML. These line items do not have any unique ID or any other unique attribute to them so they are being selected based on their position in the DOM.
When you exeucte the test case, this may not be the proper position again.
You would need to create a custom XPATH query to access these.
To make ir more generalized, I'd reccommend add the query to a form map. This query can, then also take in arguments.
Re: target of ASP webpage not captured correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 08:26 AM
The page source shows the information as it was pulled from the server. But this page uses a lot of javascript. So what would be more useful is to add a step to your test case that does a snapshot. In this way, we can see what the page looks like after the javascript has operated on it.
If you look in the page source, they are doing some very strange stuff. About halfway through the source, you'll find ctl00_cphBody_SchedulerControl_PreloadedListD
So please post the results of using a snapshot command (not for the screenshot, but for the DOM describing the live document in the browser).
By the way, what happens when you use this page from Firefox? You say it only works in IE? From a quick glance, I don't see why this restriction would be there.
Re: target of ASP webpage not captured correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 09:20 AM
The thing is, I cannot do a snapshot with this page in IE, it crashes.
When I tried to use firefox or internal browser(not very sure what it is, a light version of IE?) it just display a blank page. I doubt the data is received, just the browser doesn't know how to display it.
do you have an expample of doing this customized mapping?
Best Regards
Daniel
Re: target of ASP webpage not captured correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 12:47 PM
When you say, "it crashes", can you be more specific? It sounds like there may be a bug somewhere that needs to be addressed!
Similarly, when looking at the internal browser, if you're seeing a blank page, there may be some problem there, too. The internal browser in iTest is built on top of the standard Mozilla browser codebase -- the same one that lies under Firefox. So you should see similar behavior in iTest's browser as you do with using Firefox completely outside of iTest.
I'd appreciate if you could connect with our customer support organization and they can arrange a session where we get to the bottom of these problems.
Re: target of ASP webpage not captured correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 01:19 PM
I mean IE crashes, and it says the iTest plugin did some thing invalid.
Re: target of ASP webpage not captured correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 02:04 PM
Definitely sounds like a bug. I'd really appreciate if you can connect with Fanfare support on this -- and you can refer to this exchange on the forum.
Re: target of ASP webpage not captured correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 11:04 PM
When you report the bug, could you please let the support team know the version of Internet Explorer you are using and the version of iTest.
Out of curiosity, does your web page work properly in standard Firefox installation?
Re: target of ASP webpage not captured correctly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-19-2010 11:34 PM
iTest version: 3.4.2 build 43783
IE version: 6.0.2100.2980
Firefox version: 3.6.3
Windows version: XP SP2
The webpage displays a blank content on my firefox and iTest internal browser, while works properly on standalone IE.
BTW, the step which didn't capture the target correctly, is the step targeting "://INPUT[@type='button'];" the step targetting "://LI[41]/DIV/DIV" was correct, that's the click on the left colum.
