Jump to content

Code for VBA Problem


Recommended Posts

Hi All,

I Have a probelm in VB, i am working in for a Test Auto Project.

In one of my test script ,at one web page i must set some values to two text fields and Select two values from two different dropdown fields, these fields are same for all the records..but depending upon the record the places of the fields may change up and down in the same page, if i pass values one by one with VBA Code, in some records because of the changing of the fields i am getting errors.

I have an idea that, each field contains a name for it, so in the VBA code i would like to write if the text field1= text1 then enter 1 and if the text field2= text2 then enter 2 like that..same with dropdown fields toooo..i need VBA code for this process urgently.

Thanks in Advance.

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...