farnking / Test-Dragon-Forum-of-TBots

a fuzzer lab
1 stars 1 forks source link

"Scrolling Along X" always exists in the returning list of getLegalActionList() #45

Open billy12543 opened 8 months ago

billy12543 commented 8 months ago

Describe the bug As title, "Scrolling Along X" button exists on the Test-Dragon GUI even when the browser is not capable of horizontal scrolling on the current website. In other word, the action, "Scrolling Along X", should not always exist in the returning list of API.stateAna.getLegalActionList(). Moreover, If I click the button when the website is not able to do horizontal scrolling, Test-Dragon will be frozen by the bug.

Project ID 150

Name of App under Test website under testing browser: firefox

Type of App under Test Web app

URL Mandatory for web app under test

To Reproduce Steps to reproduce the behavior:

  1. Start to test the project with the website.
  2. When Test-Dragon is available to response, find the "scrollingAlongX" button
  3. Click it.

Expected behavior There is no such button to click.

Screenshots Screenshot 2024-01-03 143249 Screenshot 2024-01-03 143313 Screenshot 2024-01-03 143323

Desktop (please complete the following information):

Call stack of running procedures (or methods) As Screenshot

Dumping text from terminal or console As screenshot

Additional context None

Your diagnosis The code segment of the API is inside the "CnTestingTask.pyc", which is hard to diagnosis on client side.

Your suggestions for fixing the problem The button "scrollAlongX" should not exist if current website on browser is not able to do horizontal scrolling

References None