automation of ie

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khan091
    New Member
    • Jun 2007
    • 10

    automation of ie

    i m automating ie .i ve automated cilck events of buttons ,graphical buttons ,the
    problems comes ,where i ve to click the lists ,it is a list ,which contains several items in it ,and i ve to click one of its item ,and it has a nested list in it .kindly help me out ,waiting for ur help ,the source code of list is following
    '
    Code:
    l1 = new List(true, width, height, bgColor);
    
    l2 = new List(false, width, height, bgColor);l1.addList(l2, "about us ");
    
    
    l2.addItem('<a class="leftNav" href="apna kotli.com"</a>)

    if any one does not understand my question ,kindly ask me ,thanks in advance
  • giveDsolution
    New Member
    • May 2007
    • 107

    #2
    Originally posted by khan091
    i m automating ie .i ve automated cilck events of buttons ,graphical buttons ,the
    problems comes ,where i ve to click the lists ,it is a list ,which contains several items in it ,and i ve to click one of its item ,and it has a nested list in it .kindly help me out ,waiting for ur help ,the source code of list is following
    '
    Code:
    l1 = new List(true, width, height, bgColor);
    
    l2 = new List(false, width, height, bgColor);l1.addList(l2, "about us ");
    
    
    l2.addItem('<a class="leftNav" href="apna kotli.com"</a>)

    if any one does not understand my question ,kindly ask me ,thanks in advance
    Sorry could'nt understand ur prob

    Comment

    • khan091
      New Member
      • Jun 2007
      • 10

      #3
      Originally posted by giveDsolution
      Sorry could'nt understand ur prob
      i ve to automate the click event of l1 ,and after clicking l1 ,i have to click l2 ,

      if u donot undestand ,kindly ask me again

      Comment

      • giveDsolution
        New Member
        • May 2007
        • 107

        #4
        Originally posted by khan091
        i ve to automate the click event of l1 ,and after clicking l1 ,i have to click l2 ,

        if u donot undestand ,kindly ask me again
        automate the click event of l1......wht does it mean

        Comment

        • khan091
          New Member
          • Jun 2007
          • 10

          #5
          Originally posted by giveDsolution
          automate the click event of l1......wht does it mean
          THAT THERE IS A LIST NAMED L1 ,IT HAS AN ITEM (ABOUT US ) ,THAT SHOULD BE CLICKED AUTOMATICALLY ,THANKS

          Comment

          • blackjack2150
            New Member
            • Feb 2007
            • 79

            #6
            Are you using a WebBrowser control to load your page?

            Comment

            • khan091
              New Member
              • Jun 2007
              • 10

              #7
              i m using internet controls to load web page.

              Comment

              • blackjack2150
                New Member
                • Feb 2007
                • 79

                #8
                Originally posted by khan091
                i m using internet controls to load web page.
                Wow! Just a second. Internet controls???
                What do you mean by Internet Controls?
                What IDE are you using? Visual Studio, Borland, or what?
                Are you using custom controls in your project?

                If you don't explain clearly your situation nobody will be able to understand you, hence you won't get any help.

                Comment

                • khan091
                  New Member
                  • Jun 2007
                  • 10

                  #9
                  Sorry i did not explain clearly what do i need .I am using c# to automate web pages, how can i handle frames? The web page i reterive
                  contains 3 frames in it referencing to 3 different URLs. ,i will be very thank full ,if u provide me a chunk of code in c# ,if u donot understand ,ask me again and again ,very helpless ,i m using web browser control

                  Comment

                  • blackjack2150
                    New Member
                    • Feb 2007
                    • 79

                    #10
                    Originally posted by khan091
                    Sorry i did not explain clearly what do i need .I am using c# to automate web pages, how can i handle frames? The web page i reterive
                    contains 3 frames in it referencing to 3 different URLs. ,i will be very thank full ,if u provide me a chunk of code in c# ,if u donot understand ,ask me again and again ,very helpless ,i m using web browser control
                    Read this thread:


                    It doesn't deal with frames, but it may help you.

                    Comment

                    • khan091
                      New Member
                      • Jun 2007
                      • 10

                      #11
                      read out the threads ,but did not get any help ,thanks for helping me

                      Comment

                      • khan091
                        New Member
                        • Jun 2007
                        • 10

                        #12
                        the threads u asked me to read does not provide any help for frames,i need to know how to access the page having frames

                        Comment

                        • blackjack2150
                          New Member
                          • Feb 2007
                          • 79

                          #13
                          Originally posted by khan091
                          the threads u asked me to read does not provide any help for frames,i need to know how to access the page having frames
                          I haven't worked with frames, and I only did one project on this subject, so I'm no expert.

                          But I'm assuming that if you have a page with frames, than the html files defines a frameset and from that frameset you get the URL's of the individual frames and navigate to each of them and do whatever you want.

                          Comment

                          Working...