Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7447685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:41:25+00:00 2026-05-29T12:41:25+00:00

Hy, Is it possible to test mxGraphs via UI by using Quick Test Professional?

  • 0

Hy,

Is it possible to test mxGraphs via UI by using Quick Test Professional?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T12:41:26+00:00Added an answer on May 29, 2026 at 12:41 pm

    Assuming you mean mxGraphs (a link would be nice next time) as javascript library for drawing diagrams in the webbrowser:

    Using the example application: It is possible, but poorly. All basic shapes on the left side are selectable and have unique names by their “alt” property or “filename” property. The buttons on top are recognizable by QTP, but results in generic creation of object names, you’ll have to fiddle with the Class attributes if you want to use the,.

    Recording example (on dutch culture):

    ' left-side objects
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").Image("Container").Click
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").Image("Tekst").Click
    
    ' changing the text on the Tekst object
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").WebEdit("WebEdit").Set "Change of Text"
    
    ' More new objects
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").Image("Signal-in Arrow").Click
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").Image("Corporate Data Center").Click
    
    ' Changing text on the Corporate Data Center object
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").WebEdit("WebEdit").Set "new text"
    
    ' Top buttons
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").WebButton("WebButton").Click
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").Frame("Frame").WebButton("Annuleren").Click
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").WebButton("WebButton_2").Click
    Browser("Diagramly - Draw Diagrams").Page("Diagramly - Draw Diagrams").WebButton("WebButton_3").Click
    

    The canvas (drawing area) is a different story. Drag and Drop is not easily automatable because it is not recognized nativly. You have to write your own functions for that.

    Shape recognition is only doable on properties in the innerHtml, or the x and y locations. If you want to do extensive creation and changing/editing of objects, then you could create a library with all objects kept in it as sort of virtual objects, remembering the state of each objects. But is won’t be easy.

    Tested on WinXP SP3, IE8 and QTP10.00

    TL;DR No. Some components can be captured by QTP, but it will be tiresome and slow. It will only be worth the effort if you only want to see if all items on the side-bar are present and can be created.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to conveniently test jQuery selectors on some random web page using
Is it possible to use Fluent NHibernate's PersistenceSpecification to test NHibernate mappings done via
Is it possible to test if a javascript cookie has expired using? I need
Is it possible to test that a property setter has not been called using
Using C++ preprocessor directives, is it possible to test if a preprocessor symbol has
Is it possible to test intersections with 2 sprites in XNA using the sprites'
Is it somehow possible to test warnings i Ruby using RSpec? Like this: class
It's possible to test for the existence of an HTML element using jQuery. For
If the application using sms-sending and receiving how is it possible to test it
Is it possible to test a string with IsNumeric() and for it to return

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.