|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Taking long time to recognize a object on Web pageHi,
I'm automating a web form with huge number of controls. To identify the a object which is at bottom (Ex.HTML/EXCEL Radio buttons or Run Query Button in the attached image) of the page, SAFS/RFT engine taking almost 10-15 minutes to just identify/recognize the object. With this my script taking so much time to exeucute the entire scenario. I have attached the Application Map file and My Web page(I'm testing) for your reference. Please let me know any work arounds in terms of creating AppMaps for webpages. Thanks in adavnce, Shashy ![]() QueryTool.MAP |
|
|
Re: Taking long time to recognize a object on Web pageI recently pushed a draft document for this and similar issues for RFT:
http://safsdev.sourceforge.net/sqabasic2000/CreateRFTAppMaps.htm Specifically: http://safsdev.sourceforge.net/sqabasic2000/CreateRFTAppMaps.htm#objectmapalternative You may wish to try the RFT Object Map Alternative. This basically means having a RFT Shared Object Map and using the names of those Objects in your SAFS App Map instead of recognition strings. The Shared Object Map must also be associated with our RFT "TestScript.java" for this to work, too. Let me know how this goes if you try it. I have not done this myself. Carl -----Original Message----- From: Shashi Inukonda Subject: [safs-rrafs] Taking long time to recognize a object on Web page Hi, I'm automating a web form with huge number of controls. To identify the a object which is at bottom (Ex.HTML/EXCEL Radio buttons or Run Query Button in the attached image) of the page, SAFS/RFT engine taking almost 10-15 minutes to just identify/recognize the object. With this my script taking so much time to exeucute the entire scenario. I have attached the Application Map file and My Web page(I'm testing) for your reference. Please let me know any work arounds in terms of creating AppMaps for webpages. Thanks in adavnce, Shashy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
|
|
Re: Taking long time to recognize a object on Web pageThanks for the workaround Carl, but not much success.
I followed the steps as below: Created 3 objects for TestScript.Java in RFT ( as in the attachment) In AppMap File assigned as : NavteqQueryToolPage="RFT_NavteqQueryToolPage" HTML_RBtn= "RFT_HTML_RBtn" Excel_RBtn= "RFT_Excel_RBtn" and in the Step table used as: T, NavteqQueryToolPage, Excel_RBtn, Click But reported with Unknown Command error. Debuglog attached for more details. Thanks, Shashi
debuglog.txt |
|
|
Re: Taking long time to recognize a object on Web pageHi Carl,
The steps I followed are correct or not? Created 3 objects for TestScript.Java in RFT In AppMap File assigned as : NavteqQueryToolPage="RFT_NavteqQueryToolPage" HTML_RBtn= "RFT_HTML_RBtn" Excel_RBtn= "RFT_Excel_RBtn" and in the Step table used as: T, NavteqQueryToolPage, Excel_RBtn, Click But reported with Unknown Command error. Debuglog attached for more details. Please guide me in this regard. Thanks, Shashi > I recently pushed a draft document for this and similar issues for RFT: > > http://safsdev.sourceforge.net/sqabasic2000/CreateRFTAppMaps.htm > > Specifically: > http://safsdev.sourceforge.net/sqabasic2000/CreateRFTAppMaps.htm#objectmapalternative > > You may wish to try the RFT Object Map Alternative. This basically means > having a RFT Shared Object Map and using the names of those Objects in > your SAFS App Map instead of recognition strings. The Shared Object Map > must also be associated with our RFT "TestScript.java" for this to work, > too. > > Let me know how this goes if you try it. I have not done this myself. > > Carl > > -----Original Message----- > From: Shashi Inukonda > Subject: [safs-rrafs] Taking long time to recognize a object on Web page > > Hi, > > I'm automating a web form with huge number of controls. To identify the a > object which is at bottom (Ex.HTML/EXCEL Radio buttons or Run Query Button > in the attached image) of the page, SAFS/RFT engine taking almost 10-15 > minutes to just identify/recognize the object. With this my script taking > so > much time to exeucute the entire scenario. > > I have attached the Application Map file and My Web page(I'm testing) for > your reference. Please let me know any work arounds in terms of creating > AppMaps for webpages. > > Thanks in adavnce, > Shashy > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > safsdev-rrafs@... > https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs > -- With Best Regards, Shashi Inukonda | Team Lead | AppLabs Unit 2-D, 6166 N Sheridan Rd, Chicago, IL - 60660 Office: +1 312 894 7252 | Mobile: +1 812 690 1469 kiran.inukonda@... | AppLabs.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
|
|
Re: Taking long time to recognize a object on Web pageI don't have any link to any debug log. Send that to me directly/offline.
-----Original Message----- From: Shashi Inukonda Subject: Re: [safs-rrafs] Taking long time to recognize a object on Web page Hi Carl, The steps I followed are correct or not? Created 3 objects for TestScript.Java in RFT In AppMap File assigned as : NavteqQueryToolPage="RFT_NavteqQueryToolPage" HTML_RBtn= "RFT_HTML_RBtn" Excel_RBtn= "RFT_Excel_RBtn" and in the Step table used as: T, NavteqQueryToolPage, Excel_RBtn, Click But reported with Unknown Command error. Debuglog attached for more details. Please guide me in this regard. Thanks, Shashi ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
|
|
|
|
|
Re: Taking long time to recognize a object on Web pageHi Carl,
I agree that I gave the debug log for a test command I ran in my script. The same object was identified/run by Recording/Playback in RFT. Please direct me for further investigation or workaround and I also we couldn't work with latest SAFS release (my team mate Shantha posted a question regarding the same). I shall give you more details about this issue. Thanks for your support as always. Shashi > Shashi, > > You provided only a short snippet of your entire debug log. I reviewed it > and found these important points: > > [INFO 15:54:15.967: RAM: Parent NOT retrievable from Object Map: > NavteqQueryToolPage ] > [DEBUG 15:54:15.967: getAppMapItem: GETITEM :13:QueryTool.MAP SECTION > :19:NavteqQueryToolPage ITEM :19:NavteqQueryToolPage ] > [INFO 15:54:15.982: NavteqQueryToolPage:NavteqQueryToolPage resolved to: > RFT_NavteqQueryToolPage ] > [DEBUG 15:54:16.045: findMappedParent:NavteqQueryToolPage, windowPath: > RFT_NavteqQueryToolPage, parent: TestObject(Name: > <b>RFT_NavteqQueryToolPage</b>, Map: RFT_NavteqQueryToolPage) ] > [DEBUG 15:54:16.170: RDDG: compTestObject : Html.HtmlBrowser ] > [INFO 15:54:16.170: RGCD:classname: Html.HtmlBrowser, typeclass: Window ] > [DEBUG 15:54:16.185: RDDG: mappedClassType: Window ] > [DEBUG 15:54:16.185: RDDG: childName: NavteqQueryToolPage ] > [INFO 15:54:16.185: RGCD:classname: Html.HtmlBrowser, typeclass: Window ] > [DEBUG 15:54:16.185: RDDG: compType: Component ] > [INFO 15:54:16.201: ..checking object visibility... ] > [INFO 15:54:16.685: ..object is visible: false ] > [INFO 15:54:16.685: ..object is showing: false ] > [INFO 15:54:16.685: ..object is uiClass: unknown ] > [INFO 15:54:16.685: ..NOT SHOWING: trying again...getTestObject ..... : > msn: 1217451256201, j: ] > .... > > All the way to the end of the log--only about 30 seconds worth: > > [DEBUG 15:54:43.810: RDDG: childName: NavteqQueryToolPage ] > [INFO 15:54:43.810: RGCD:classname: Html.HtmlBrowser, typeclass: Window ] > [DEBUG 15:54:43.810: RDDG: compType: Component ] > [INFO 15:54:43.810: ..checking object visibility... ] > [INFO 15:54:44.216: ..object is visible: false ] > [INFO 15:54:44.216: ..object is showing: false ] > [INFO 15:54:44.216: ..object is uiClass: unknown ] > [INFO 15:54:44.216: ..NOT SHOWING: trying again...getTestObject ..... : > msn: 1217451283810, j: 54 ] > > So, the code apparently is properly receiving a reference as stored in > your Object Map, but it is not properly finding the object at runtime. We > will have to investigate if there is something we can do about it in our > code, but it would be good to know if you can do recordings\playback using > that same Object Map object successfully. When using Object Map objects > instead of recognition strings we are pretty much at the whim of RFT to do > what it is supposed to do to find objects stored in its Object Map. > > Carl > > -----Original Message----- > From: Shashi Inukonda [mailto:kiran.inukonda@...] > Sent: Friday, August 01, 2008 10:54 AM > To: Carl Nagle > Subject: Re: [safs-rrafs] Taking long time to recognize a object on Web > page > > Please see the attached debug log. > > Thanks, > Shashi > > >> I don't have any link to any debug log. Send that to me >> directly/offline. >> >> -----Original Message----- >> From: Shashi Inukonda >> Subject: Re: [safs-rrafs] Taking long time to recognize a object on Web >> page >> >> Hi Carl, >> >> The steps I followed are correct or not? >> >> Created 3 objects for TestScript.Java in RFT >> >> In AppMap File assigned as : >> NavteqQueryToolPage="RFT_NavteqQueryToolPage" >> HTML_RBtn= "RFT_HTML_RBtn" >> Excel_RBtn= "RFT_Excel_RBtn" >> >> and in the Step table used as: >> T, NavteqQueryToolPage, Excel_RBtn, Click >> >> But reported with Unknown Command error. Debuglog attached for more >> details. >> >> Please guide me in this regard. >> >> Thanks, >> Shashi >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > safsdev-rrafs@... > https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs > -- With Best Regards, Shashi Inukonda | Team Lead | AppLabs Unit 2-D, 6166 N Sheridan Rd, Chicago, IL - 60660 Office: +1 312 894 7252 | Mobile: +1 812 690 1469 kiran.inukonda@... | AppLabs.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
|
|
Re: Taking long time to recognize a object on Web pageHi Carl,
I could successfully implement this mechanism "RFT Object Map Alternative" in my project and it is working fine. This is FYI. Thanks, Shashi
|
|
|
Re: Taking long time to recognize a object on Web pageThank you very much for this feedback!
-----Original Message----- From: Shashi Inukonda [mailto:shashyinukonda@...] Subject: Re: [safs-rrafs] Taking long time to recognize a object on Web page Hi Carl, I could successfully implement this mechanism "RFT Object Map Alternative" in my project and it is working fine. This is FYI. Thanks, Shashi Carl Nagle wrote: > > I recently pushed a draft document for this and similar issues for RFT: > > http://safsdev.sourceforge.net/sqabasic2000/CreateRFTAppMaps.htm > > Specifically: > http://safsdev.sourceforge.net/sqabasic2000/CreateRFTAppMaps.htm#objectmapalternative > > You may wish to try the RFT Object Map Alternative. This basically means > having a RFT Shared Object Map and using the names of those Objects in > your SAFS App Map instead of recognition strings. The Shared Object Map > must also be associated with our RFT "TestScript.java" for this to work, > too. > > Let me know how this goes if you try it. I have not done this myself. > > Carl > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
| Free Forum Powered by Nabble | Forum Help |