User Profile

Collapse

Profile Sidebar

Collapse
rdps
rdps
Last Activity: Dec 4 '06, 04:16 AM
Joined: Nov 8 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rdps
    replied to creating test suites
    Thanks for the replies...but the solution doesnt seem to work for me. All the test cases run, evn though i want to run only 2 of the three test cases.

    Currently i am using Eclipse IDE for running the tests but in future i plan to run the test suites through command line. Any pointers regarding how to run the test suite from command line?
    See more | Go to post

    Leave a comment:


  • rdps
    started a topic creating test suites

    creating test suites

    I am a newbie and that says it all about posting a basic doubt. I still hope someone helps me out .

    I am unit testing some modules. My test module is in diff file than the modules
    to be tested. My code is something like this :

    <PRE>

    class xyz(unittest.Te stCase):

    def testAbc():
    .....
    def testPqr():
    .....
    def testKlm():...
    See more | Go to post

  • rdps
    replied to automate testing a website/page
    Pamie mehtod : textAreaGet (name) takes an argement which is: The name, id or index of the textarea. But, i dont have any such id, which is the unfortunate thing.
    See more | Go to post

    Leave a comment:


  • rdps
    replied to automate testing a website/page
    Thnaks a lott fredrick. U have been very helpful.

    Just wanted to know from where to get the list of attributes/methods for an object ? Say, u call page.getElement Id(), how are u arriving at the .method? I am using an IDE which doesnt support auto completion. I am getting stuck with the methods which are available for a particular object.
    See more | Go to post

    Leave a comment:


  • rdps
    replied to manipulating gui elements on a web page
    Hey! thanks for the explanation.

    What i want to do next is enter text in the text box and click 'Saerch'. Any pointers regarding how to do that?

    The real prb is where the gui elements have no ids associated in the respective html doc.
    See more | Go to post

    Leave a comment:


  • rdps
    replied to automate testing a website/page
    Adding further to my query, how to identify the elements on the web page which do not have any id mentioned in the html text ?
    See more | Go to post

    Leave a comment:


  • rdps
    replied to manipulating gui elements on a web page
    Thnaks a ton!!! This did the trick.
    See more | Go to post

    Leave a comment:


  • rdps
    started a topic automate testing a website/page

    automate testing a website/page

    hello,

    I am trying to open up a webpage, say "http://gmail.com", enter username, passwd, click on submit button and do loads of other things - ALL THROUGH AUTOMATION, writing a script in python.

    I tried my hands at cPAMIE but facing prbs regading the ids of the gui elements i.e. the places where id of a particular gui element is not mentioned in the htm source file, we cannot use the cPAMIE methods.
    ...
    See more | Go to post

  • rdps
    replied to manipulating gui elements on a web page
    I tried using com to achieve my goal i.e to manipulate various ui components on a web page.

    I dont know why, but this seemingly correct code gives following error :
    -------------------------------------------------- Code---------------------------------------------------------
    <b>
    Code:
    import win32com.client 
    
    ie = win32com.client.Dispatch("InternetExplorer.Application")
    ie.Visible
    ...
    See more | Go to post
    Last edited by bartonc; Dec 18 '06, 09:00 PM. Reason: added [code][/code] tags

    Leave a comment:


  • rdps
    replied to manipulating gui elements on a web page
    I would elaborate my prev mail a bit. Say, i am havaing a html code for a web page:

    <html>
    <body>
    <table>
    <tr>
    <td>"<a href="">abc"</a></td>
    <td>"xyz"</td>
    </tr>
    <tr>
    <td>"123"</td>
    <td>"456"</td>
    </tr>
    ...
    See more | Go to post

    Leave a comment:


  • rdps
    replied to manipulating gui elements on a web page
    Hello,

    cPAMIE definetly looks like an easier way but i am facing problems in extracting elements out of the tables, where in the tags in the html source view dont mention any id for the table identification.

    All the functions related to the tables, ask for an id to be mentioned, which is unavailable to me. Do you see any solution?
    See more | Go to post

    Leave a comment:


  • rdps
    replied to manipulating gui elements on a web page
    Thanks a lot indeed!!!

    Can one use cPAMIE module to do the same stuff ? i read about this this module in some of the other posting. Is looks simpler to use. Could there be some disadvantages of using the cPAMIE module? Please do let me know.
    See more | Go to post

    Leave a comment:


  • rdps
    started a topic manipulating gui elements on a web page

    manipulating gui elements on a web page

    I am a newbie to the python world. I am trying my hands at one task:

    I am trying to access a website, say, "http://xyz.com" and then trying to maniulate the gui elememts already present on the page.

    I am able to open the site using:

    webbrowser.open ("http://xyz.com")

    But now, i have to enter some text in a text box and click on the button, which i am unaware how to do...
    See more | Go to post
    Last edited by rdps; Nov 8 '06, 11:09 AM. Reason: spelling mistake
No activity results to display
Show More
Working...