SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,579
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    System.ArgumentNullException for ParseQueryId

    Hi All,

    Automating legacy desktop application and trying to click a toolbar icon. That icon was able to identify by Coded UI, but unable to click. Please find the given error below. Also Coded UI takes 2-3 minutes to identify this icon. Anybody having solutions for this..?


    Test Name: ClickTrial
    Test FullName: Module1_MyApp.Module1_Demo1_Overall_test.ClickTria l
    Test Source: C:\Scripts\MBT_CUI\Module1_MyApp\TestCases\Module1 _Demo1_Overall_test.cs : line 65
    Test Outcome: Failed
    Test Duration: 0:00:16.460084

    Result StackTrace:
    at Microsoft.VisualStudio.TestTools.UITest.Common.Que ryId.ParseQueryId(String queryIdString)
    at Microsoft.VisualStudio.TestTools.UITest.Playback.S creenElement.FindFromPartialQueryId(String queryId, Boolean resetSkipStep)
    at Microsoft.VisualStudio.TestTools.UITesting.UITestC ontrol.EnsureValid(Boolean waitForReady, Boolean refetch)
    at Microsoft.VisualStudio.TestTools.UITesting.UITestC ontrol.GetPropertyValuePrivate(String propertyName)
    at Microsoft.VisualStudio.TestTools.UITesting.UITestC ontrol.GetPropertyPrivate(String propertyName)
    at Microsoft.VisualStudio.TestTools.UITesting.UITestC ontrol.GetPropertyOfType[T](String propertyName)
    at Microsoft.VisualStudio.TestTools.UITesting.UITestC ontrol.get_Exists()
    at Module1_MyApp.Module1_Demo1_Overall_test.ClickTria l() in C:\Scripts\MBT_CUI\Module1_MyApp\TestCases\Module1 _Demo1_Overall_test.cs:line 70
    Result Message:
    Test method Module1_MyApp.Module1_Demo1_Overall_test.ClickTria l threw exception:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: queryIdString

    Parameter name: queryIdString System.ArgumentNullException
    Microsoft.VisualStudio.TestTools.UITest.Common.Que ryId.ParseQueryId(String queryIdString)
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  2. #2
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,579
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    This exception occurs, if the control is not identified by VS..
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 14.29%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 11:27 PM.

Copyright BetaSoft Inc.