The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> IBM/Rational Functional Tester - RobotJ

Pages: 1
phil1984
Newbie


Reged: 04/04/12
Posts: 9
Some Questions about RFT
      #704609 - 04/19/12 01:48 AM

Hello,
at the moment trying out RFT, maybe you can answer me some questions.

1) Is it possible to run multiple browser-based tests with RFT at the same time?
2) When I want to record a script, can I configure RFT to start the browser with different proxy-server-settings, different language-settings and/or a different firefox-profile?
3) Would you use RFT to test websites that massively use ExtJS? Alternatives?


Post Extras: Print Post   Remind Me!   Notify Moderator  
dlai
Junior Member


Reged: 05/02/06
Posts: 1041
Loc: CA, USA
Re: Some Questions about RFT [Re: phil1984]
      #704642 - 04/19/12 07:44 AM

The answer to 1 and 2 is yes. But I don't know how off the top of my head. Since RFT is basically java but compiled through IBM's RFT compiler, you can use any sort of Java libraries. Right now I use Selenium under RFT for the Web portion, due to it being much faster.

For 3, I'd probably won't choose RFT if all I'm testing is websites. Webtesting with RFT isn't any better than other tools like QTP or TestComplete which have better support, and will not support as many browsers and platforms as Watir or Selenium. So unless you're testing something that involves a browser plugin or native code, I'd probably won't use RFT for strict web testing.

Where RFT excels at is the ability to support different objects. You can write java or .net proxies for adding support to 3rd party controls that might not be supported by other tools.

--------------------
David Lai
Sr. QA / Test Lead
LinkedIn profile


Post Extras: Print Post   Remind Me!   Notify Moderator  
phil1984
Newbie


Reged: 04/04/12
Posts: 9
Re: Some Questions about RFT [Re: dlai]
      #704750 - 04/20/12 04:55 AM

Thank you very much for your answer!

Post Extras: Print Post   Remind Me!   Notify Moderator  
MrCoolK
Member


Reged: 11/17/11
Posts: 25
Re: Some Questions about RFT [Re: phil1984]
      #704757 - 04/20/12 05:53 AM

Hi ,
For number 1 you can do use ProcessTestObject .
You have to assign the browsers to different variables and perform whatever you want after that like click or any thing.

For example
// http://www.yahoo.com/
text_search(browser1, DEFAULT).click();
browser_htmlBrowser1(browser1, DEFAULT).inputChars("rft");
button_searchsubmit1(browser1, DEFAULT).click();


// http://www.google.com/
text_search2(browser2, DEFAULT).click();
browser_htmlBrowser2(browser2, DEFAULT).inputChars("rft");
button_searchsubmit2(browser2, DEFAULT).click();


Post Extras: Print Post   Remind Me!   Notify Moderator  
dlai
Junior Member


Reged: 05/02/06
Posts: 1041
Loc: CA, USA
Re: Some Questions about RFT [Re: MrCoolK]
      #704777 - 04/20/12 08:03 AM

Do you know if RFT supports variables inside their mappings? I know with test complete, I've always used the class index as a variable so I can change the variables at run time to reference other windows.

--------------------
David Lai
Sr. QA / Test Lead
LinkedIn profile


Post Extras: Print Post   Remind Me!   Notify Moderator  
ruptan
Newbie


Reged: 09/03/09
Posts: 8
Re: Some Questions about RFT [Re: dlai]
      #704813 - 04/20/12 01:20 PM

I doubt it will work as there will be ambigious errors from RFT. It does not know how to handle multiple browsers sometimes and gets confused.

Post Extras: Print Post   Remind Me!   Notify Moderator  
tnr
Newbie


Reged: 12/11/07
Posts: 23
Re: Some Questions about RFT [Re: phil1984]
      #716402 - 09/13/12 01:48 AM

To answer your question 3: you may want to look at RIATest.

Version 5.0 fully supports ExtJS testing. ExtJS UI widgets are first class citizen in RIATest. This means that unlike other HTML testing tools you do not need to write tests that manipulate the HTML DOM elements. The tests in RIATest operate in terms of ExtJS UI widgets.

Examples of RIATest scripts that work with ExtJS widgets:

The following clicks on an ExtJS button with label "Next Page":

Code:
ExtButton("Next Page")=>click();



And the following does drag-n-drop of a row from one ExtJS tree to another:

Code:
ExtRow("Controller.js")=>dragAndDropTo(ExtTreePanel("#tree2")->ExtRow("Custom Ext JS"));



And this collapses the header of an ExtJS box:

Code:
ExtBox("Feeds")->ExtHeader("Feeds")->ExtCollapser()=>click();



(All sample code above is from real test scripts that run on ExtJS sample applications).


RIATest also knows when to automatically wait for ExtJS AJAX to finish, so if your UI does dynamic content downloading the tests will auto-magically wait until data is received from server.


(Disclaimer: I am a RIATest team member).

--------------------
TN
RIATest - Web test automation


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 8 anonymous users are browsing this forum.

Moderator:  AJ, AllenGay 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4057

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5