--%>

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 : "This" Pointer "this" pointer: In C++

    "this" pointer: In C++ uses a unique keyword called "this" to represent a object that

  • Q : State the term GPC and GPT State the

    State the term GPC and GPT.

  • Q : What are tools require View XHTML

    What are tools require View XHTML Documents?

  • 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 Look-and-feel Look-and-feel :

    Look-and-feel: The visual impression and interaction style given by a user interface. This is mainly the responsibility of the window manager (that is, in collaboration with the fundamental operating system) running on a specific computer. This refers

  • Q : What is Public interface Public

    Public interface: The members of a class prefixed with public access modifier. All these members are visible to each and every class in a program.

  • Q : What is Lexicographic ordering

    Lexicographic ordering: It is the ordering of words as they would be easily found in a dictionary. It must be noted that dissimilar locales order identical looking words according to their own conventions - this exerts, in specific, to accented charac

  • Q : Explain Dynamic Language Runtime

    Explain Dynamic Language Runtime (DLR) briefly?

  • Q : What is Abstract method Abstract method

    Abstract method: This is a method with the abstract reserved word in its header. The abstract method has no method body. Methods stated in an interface are for all time abstract. The body of an abstract method should be stated in a su

  • Q : What is Discrete simulation Discrete

    Discrete simulation: In a discrete simulation, the time passes at an irregular rate which is determined by the primary events of interest in simulation.