--%>

How can I get an exact image in a web page

How can I get an exact image in a web page?

E

Expert

Verified

To determine an image in a web page, you can utilize one of the approaches as given here:
a. Search for the IMG tool whose SRC attribute has the file name of the required image. To do the search, utilize the Page.NativeWebObject.Find way.
b. Utilize TestComplete’s image-search abilities. There you can call the Picture way of the web browser window to acquire a Picture object holding the window image, and after that use the Find process of this object to search for the needed image. This process returns a rectangle which specifies coordinates of the image in the web browser window. To attain the scripting object equivalent to the found image, you can employ the Sys.ObjectFromPoint process. Both approaches are evenly valid, though, finding the image by name works very faster. For further information and code illustrations, notice the TestComplete Tips.

   Related Questions in Programming Languages

  • Q : State Default label Default label : The

    Default label: The destination for all values employed in a switch statement expression which do not contain explicit case labels. The default label is not obligatory.

  • Q : Data types of LONG To define the data

    To define the data types such as LONG, INT, SHORT, CHAR write a program?

  • Q : Assembly program that reads in five

     I need to write assembly program that reads in five numbers from the user. The user can then be prompted for one of the following pieces of information to be computed and returned: . the mean of the five numbers; . the largest number in the set; . the smallest number in the set; . t

  • Q : What are the uses of GPC and GPT What

    What are the uses of GPC and GPT?

  • Q : State Null character State Null

    State Null character: The \u0000 character. The care must be taken not to confuse this with null reference.

  • Q : Explain Right shift operator Right

    Right shift operator: Right shift operator (>>) is the bit manipulation operator. It shifts the bits in its left operand zero (0) or many places to the right, according to the value of its accurate operand. The most important bit from before the

  • Q : Describe Layout manager Layout manager

    Layout manager: The object responsible for sharing the accessible space between multiple components in a graphical container.

  • Q : Explain Out-of-bounds value

    Out-of-bounds value: It is a redundant value employed to point out that a different action from the norm is needed at some point. The read technique of InputStream returns -1 to point out that the end of a stream has been reached, for illustration, ra

  • Q : Explain a way to install JAVA S60 device

    What should I do when installation fails whilst trying to install a Java™ Verified application to a certain S60 device?

  • Q : Define the term server-side XPointer

    Define the term server-side XPointer?