KSA Validation Test

From NSB App Studio
Jump to navigation Jump to search

KSA Validation Test

Exercise #2:

  • Save Project As.. AppStudio shouldn’t let users save the project with an invalid name
  • Deploying the app
  • Adding the app to Homescreen


Exercise #3:

  • onclick() button event
  • basic button and labels properties


Exercise #4:

  • List ChangeForm property
  • Using commas as separators for items in the list:
  • The list dividers property
  • Basic tooltip properties


Exercise #5:

  • Changing Forms using a Header Bar: rightChangeForm, rightButtonIcon, rightButtonName, rightButtonIconPos, etc
  • Setting up and programming a radio button control:
    • calling RadioButton1_onchange()
    • using RadioButton.getValue(n)
    • RadioButton indexes are 1-based


Exercise #6:
What should work:

  • Textbox properties:
    • ReadOnly property
    • InputType: Date
  • Using the CheckBox tool
    • commas as dividers
    • checkBox1.getValue(n)
    • checkBox indexes are 1-based
  • the Date datatype
    • TextBox1.value = Date
    • the function CDate() to convert text to Date type
    • the function DateDiff() using the “d”, “m” or “yyyy” as arguments
  • Form.reset()


Exercise #7:

  • image control should support .jpg and .png files
  • audio control should support .mp3 files
  • Project’s Icon and ChromeIcon properties should work


Exercise #8:

  • Play an audio file on image.onclick() using the commands: audio1.play() audio2.pause()
  • Using the select tool to change forms
    • Change forms using: Form1.hide(), Form2.show()
  • select1.selectedIndex()
  • select tool indexes are 0 based


Exercise 9:

  • TextArea’s basic properties
  • Saving data entered to a textbox/ textArea:
    • create an object using: Dim objectName()
  • localStorage.note
  • JSON.stringify([ ])
  • JSON.parse(string)
  • objectName.push()


Exercise 10:

  • Video control: should support:
    • src = video.mp4
    • src = url of an mp4 file