Query String Inspector for Flex

 

It is common for Flex applications which are deployed to an application server to require specific parameters be provided via the applications query string.

The Flex Framework Application class provides a parameters property which contains the query string provided to the application as well as the FlashVars HTML parameter provided to the application. This is very useful as developers are no longer required to facilitate interoperability between ActionScript and other languages, typically JavaScript, just to get an swf applications query String.

The QueryString inspector is an all static class which takes advantage of this by providing an API which allows developers to perform detailed inspection of an applications Query String.

Below is a description of each method:

  • rawQueryString: Retrieves the raw query string provided to the application
  • isProvided: Determines if parameters have been provided to the application
  • nameValuePairs: Creates an Array of objects comprised of each name / value pair provided to the application
  • parameters: Retrieves the parameter names provided to the application
  • values: Retrieves the parameter values provided to the application
  • containsParameter: Determines if the specified parameter has been provided
  • containsValue: Determines if the specified value has been provided
  • getValue: Returns the value of the specified parameter
  • length: Returns the length of the query string
You can view the source as well as download the example Flex application.
Appium Inspector是一种用于Mac系统的自动化测试工具,主要用于测试、分析和调试移动应用程序。它基于Appium框架,提供了一个直观的界面,可以方便地查看和编辑iOS和Android设备上的应用程序元素。 Appium Inspector在Mac上使用非常简便,首先需要安装Appium Desktop应用程序并启动。然后,连接手机或模拟器到Mac电脑上,并保证设备已经被正确地识别和连接。 在Appium Desktop中,选择Inspector标签,点击"Start Inspector Session"按钮,就可以启动Appium Inspector。在Inspector界面上,可以选择设备和应用程序进行测试。 Appium Inspector的主要功能包括元素查找、截图和记录操作。通过元素查找功能,可以方便地定位应用程序中的各种元素,比如按钮、文本框、滚动条等,以便进行后续的操作或断言。截图功能可以帮助开发人员和测试人员记录应用程序运行时的界面状态,以便定位和修复问题。记录操作功能可以记录用户在应用程序中的交互操作,生成测试脚本以供后续执行。 除了基本的功能,Appium Inspector还支持应用程序元素的属性查看和编辑。可以查看和修改元素的ID、名称、类型等属性,以及设置元素的值、点击、滑动等操作。这些功能可以帮助开发人员和测试人员更好地了解应用程序的结构和行为,加快测试和调试的效率。 总之,Appium Inspector是一款功能强大的自动化测试工具,可以在Mac系统上帮助开发人员和测试人员轻松地测试、分析和调试移动应用程序。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值